قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* Improve type hinting for Annotation API and limit message to 255 chars * shorten message to 255 chars * adjust tests * updates expected UI test file * cs
37 خطوط
1.4 KiB
Twig
37 خطوط
1.4 KiB
Twig
<div class="annotations">
|
|
|
|
{% if annotations is empty %}
|
|
<div class="empty-annotation-list">{{ 'Annotations_NoAnnotations'|translate }}</div>
|
|
{% endif %}
|
|
|
|
<table>
|
|
|
|
|
|
{% for annotation in annotations %}
|
|
{% include "@Annotations/_annotation.twig" %}
|
|
{% endfor %}
|
|
|
|
|
|
<tr class="new-annotation-row" style="display:none;" data-date="{{ selectedDate }}">
|
|
<td class="annotation-meta">
|
|
<div class="annotation-star"> </div>
|
|
<div class="annotation-period-edit">
|
|
<a href="#">{{ selectedDate }}</a>
|
|
<div class="datepicker" style="display:none;"/>
|
|
</div>
|
|
</td>
|
|
<td class="annotation-user-cell"><span class="annotation-user">{{ userLogin }}</span></td>
|
|
<td class="annotation-value">
|
|
<div class="input-field">
|
|
<input type="text" value="" maxlength="255"
|
|
class="new-annotation-edit"
|
|
placeholder="{{ 'Annotations_EnterAnnotationText'|translate }}"/>
|
|
</div><br/>
|
|
<input type="button" class="btn new-annotation-save" value="{{ 'General_Save'|translate }}"/>
|
|
<input type="button" class="btn new-annotation-cancel" value="{{ 'General_Cancel'|translate }}"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|