Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getEvolutionIcons.twig « templates « Annotations « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 705738845dab48b7548223fcd90b9e416a85d8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<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_js'|translate(date) }}"
              {% elseif counts.count == 1 %}title="{{ 'Annotations_AnnotationOnDate'|translate(date,
              counts.note)|raw }}{{ 'Annotations_ClickToEditOrAdd'|translate }}"
              {% else %}}title="{{ 'Annotations_ViewAndAddAnnotations_js'|translate(date) }}"{% endif %}>
		<img src="plugins/Zeitgeist/images/{% if counts.starred > 0 %}yellow_marker.png{% else %}grey_marker.png{% endif %}" width="16" height="16"/>
	</span>
    {% endfor %}
</div>