Projet

Général

Profil

0001-snapshots-N-others-this-day-display-50011.patch

Lauréline Guérin, 12 janvier 2021 15:51

Télécharger (1,16 ko)

Voir les différences:

Subject: [PATCH] snapshots: "N others this day" display (#50011)

 wcs/templates/wcs/backoffice/snapshots.html | 2 ++
 1 file changed, 2 insertions(+)
wcs/templates/wcs/backoffice/snapshots.html
15 15
    {% if snapshot.user_id %}({{ snapshot.user }}){% endif %}
16 16
    {% if snapshot.new_day and snapshot.day_other_count %}(<a class="reveal"
17 17
            href="#day-{{ snapshot.timestamp|date:"Y-m-d"}}">
18
    {% if snapshot.day_other_count >= 50 %}<strong>{% endif %}
18 19
    {% blocktrans trimmed count counter=snapshot.day_other_count %}
19 20
1 other this day
20 21
{% plural %}
21 22
{{ counter }} others this day{% endblocktrans %}
22 23
    </a>){% endif %}
24
    {% if snapshot.day_other_count >= 50 %}</strong>{% endif %}
23 25
24 26
    <a href="{{snapshot.id}}/view/">{% trans "View" %}</a>
25 27
26
-