blob: f4a26700c4a728f5b8c7981e187a24ee32e2f82f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<div class="evolution-annotations">
{% for dateCountPair in annotationCounts %}
{% set date=dateCountPair[0] %}
{% set counts=dateCountPair[1] %}
<span data-date="{{ date }}" data-count="{{ counts.count }}" data-starred="{{ counts.starred }}"
{% if counts.count == 0 %}title="{{ 'Annotations_AddAnnotationsFor'|translate(date) }}"
{% elseif counts.count == 1 %}title="{{ 'Annotations_AnnotationOnDate'|translate(date,
(counts.note|e('html_attr')))|raw }}
{{ 'Annotations_ClickToEditOrAdd'|translate }}"
{% else %}}title="{{ 'Annotations_ViewAndAddAnnotations'|translate(date) }}"{% endif %}>
<span class="icon-annotation {% if counts.starred > 0 %}starred{% endif %}"/>
</span>
{% endfor %}
</div>
|