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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-23 13:22:39 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-23 13:22:39 +0400
commit55245288dfd655b6b5a449d328d5a4b145d0844f (patch)
tree8fb8f5d2705a50efc4640ed8c5e90a4e023e6e95 /plugins/Annotations
parent9c9c7990f7d6d745b28d68c8d86ea271710e2ed1 (diff)
refs #5972 show end date of date range when clicking on annotations and select the clicked date when clicking on a specific day. It still does not show today as default when clicking on annotation.
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-xplugins/Annotations/templates/_annotationList.twig4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Annotations/templates/_annotationList.twig b/plugins/Annotations/templates/_annotationList.twig
index 811f6c41a9..c9868fa0dd 100755
--- a/plugins/Annotations/templates/_annotationList.twig
+++ b/plugins/Annotations/templates/_annotationList.twig
@@ -8,11 +8,11 @@
{% for annotation in annotations %}
{% include "@Annotations/_annotation.twig" %}
{% endfor %}
- <tr class="new-annotation-row" style="display:none;" data-date="{{ today }}">
+ <tr class="new-annotation-row" style="display:none;" data-date="{{ endDate }}">
<td class="annotation-meta">
<div class="annotation-star">&nbsp;</div>
<div class="annotation-period-edit">
- <a href="#">{{ today }}</a>
+ <a href="#">{{ endDate }}</a>
<div class="datepicker" style="display:none;"/>
</div>