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:
Diffstat (limited to 'plugins/Annotations/templates/annotations.twig')
-rwxr-xr-xplugins/Annotations/templates/annotations.twig29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/Annotations/templates/annotations.twig b/plugins/Annotations/templates/annotations.twig
new file mode 100755
index 0000000000..72f5c93ca5
--- /dev/null
+++ b/plugins/Annotations/templates/annotations.twig
@@ -0,0 +1,29 @@
+<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="{{ startDate }}">
+ <td class="annotation-meta">
+ <div class="annotation-star">&nbsp;</div>
+ <div class="annotation-period-edit">
+ <a href="#">{{ startDate }}</a>
+
+ <div class="datepicker" style="display:none"/>
+ </div>
+ </td>
+ <td class="annotation-value">
+ <input type="text" value="" class="new-annotation-edit" placeholder="{{ 'Annotations_EnterAnnotationText'|translate }}"/><br/>
+ <input type="button" class="submit new-annotation-save" value="{{ 'General_Save'|translate }}"/>
+ <input type="button" class="submit new-annotation-cancel" value="{{ 'General_Cancel'|translate }}"/>
+ </td>
+ <td class="annotation-user-cell"><span class="annotation-user">{{ userLogin }}</span></td>
+ </tr>
+ </table>
+
+</div>