Questtype ?Textinput?: add support for field sizes (Issue #252) and general improvements
This commit is contained in:
commit
8d903135a5
3476 changed files with 599099 additions and 0 deletions
14
www/analytics/plugins/Annotations/templates/getEvolutionIcons.twig
Executable file
14
www/analytics/plugins/Annotations/templates/getEvolutionIcons.twig
Executable file
|
|
@ -0,0 +1,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)|raw }}
|
||||
{{ 'Annotations_ClickToEditOrAdd'|translate }}"
|
||||
{% else %}}title="{{ 'Annotations_ViewAndAddAnnotations'|translate(date) }}"{% endif %}>
|
||||
<img src="plugins/Zeitgeist/images/{% if counts.starred > 0 %}annotations_starred.png{% else %}annotations.png{% endif %}" width="16" height="16"/>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue