mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Feature: add timespent on "show" page
This commit is contained in:
parent
322ff32e5d
commit
4319b0d804
@ -45,3 +45,12 @@ workflow:
|
|||||||
few {# workflows}
|
few {# workflows}
|
||||||
other {# workflows}
|
other {# workflows}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
duration:
|
||||||
|
minute: >-
|
||||||
|
{m, plural,
|
||||||
|
=0 {Aucune durée}
|
||||||
|
one {# minute}
|
||||||
|
few {# minutes}
|
||||||
|
other {# minutes}
|
||||||
|
}
|
||||||
|
@ -118,6 +118,18 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if e.timeSpent is not null and e.timeSpent > 0 %}
|
||||||
|
<li>
|
||||||
|
{% set minutes = (e.timeSpent / 60) %}
|
||||||
|
<span class="item-key">{{ 'accompanying_course_work.timeSpent'|trans ~ ' : ' }}</span> {{ 'duration.minute'|trans({ '{m}' : minutes }) }}
|
||||||
|
</li>
|
||||||
|
{% elseif displayContent is defined and displayContent == 'long' %}
|
||||||
|
<li>
|
||||||
|
<span class="item-key">{{ 'accompanying_course_work.timeSpent'|trans ~ ' : ' }}</span>
|
||||||
|
<span class="chill-no-data-statement">{{ 'Not given'|trans }}</span>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -908,6 +908,7 @@ accompanying_course_work:
|
|||||||
remove: Supprimer une action d'accompagnement
|
remove: Supprimer une action d'accompagnement
|
||||||
social_evaluation: Évaluation
|
social_evaluation: Évaluation
|
||||||
private_comment: Commentaire privé
|
private_comment: Commentaire privé
|
||||||
|
timeSpent: Temps de rédaction
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user