Quellcode durchsuchen

Fix time spent label

omassot vor 6 Jahren
Ursprung
Commit
207e5ec078
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      main/templates/story_details.html

+ 1 - 2
main/templates/story_details.html

@@ -48,7 +48,6 @@
 			{% endif %}
 			
 			<ul class="actions small">
-				
 				{% if story.closed %}
 					<li><a class="button alt icon fa-folder-open tool-btn" href="{% url 'story_reopen' story_id=story.id %}" title="Ré-ouvrir">Ré-ouvrir</a></li>
 				{% else %}
@@ -97,7 +96,7 @@
 			<h5>Temps passé</h5>
 			<span style="margin-left: 21px;">
 			    {% if story.time_spent > 0 %}
-			        {{ story.time_spent }} demi-journées
+			        {{ story.time_spent }} jour{{ story.time_spent|pluralize }}
 			    {% else %}
 			        <i>Non-renseigné</i>
 			    {% endif %}