|
@@ -1,23 +1,23 @@
|
|
|
-{% extends '_layout.html' %}
|
|
|
|
|
-
|
|
|
|
|
-{% block main %}
|
|
|
|
|
- {% load martortags %}
|
|
|
|
|
-
|
|
|
|
|
- <header class="flex-row">
|
|
|
|
|
- <h2 class="flex-extend">{{ story.name }}</h2>
|
|
|
|
|
-
|
|
|
|
|
- <ul class="actions small">
|
|
|
|
|
- <li><a class="button special icon fa-edit tool-btn" href="{% url 'story_edit' story_id=story.id %}"></a></li>
|
|
|
|
|
- <li><a class="button icon fa-trash tool-btn" href="{% url 'story_delete' story_id=story.id %}"></a></li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </header>
|
|
|
|
|
-
|
|
|
|
|
- <div class="description">
|
|
|
|
|
- {{ story.description|safe_markdown }}
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div>Auteur: {{ story.author.get_full_name }}</div>
|
|
|
|
|
- <div>Assignée à: {% for user in story.assignees.all %}{{ user.get_full_name }}{% empty %}(Aucun){% endfor %}</div>
|
|
|
|
|
- <div>Sprints: {% for sprint in story.sprints.all %}{{ sprint }}{% empty %}(Aucun){% endfor %}</div>
|
|
|
|
|
-
|
|
|
|
|
|
|
+{% extends '_layout.html' %}
|
|
|
|
|
+
|
|
|
|
|
+{% block main %}
|
|
|
|
|
+ {% load martortags %}
|
|
|
|
|
+
|
|
|
|
|
+ <header class="flex-row">
|
|
|
|
|
+ <h2 class="flex-extend">{{ story.name }}</h2>
|
|
|
|
|
+
|
|
|
|
|
+ <ul class="actions small">
|
|
|
|
|
+ <li><a class="button special icon fa-edit tool-btn" href="{% url 'story_edit' story_id=story.id %}"></a></li>
|
|
|
|
|
+ <li><a class="button icon fa-trash tool-btn" href="{% url 'story_delete' story_id=story.id %}"></a></li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </header>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="description">
|
|
|
|
|
+ {{ story.description|safe_markdown }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <p>Auteur: {{ story.author.get_full_name }}</p>
|
|
|
|
|
+ <p>Assignée à: <ul class="tags-list">{% for user in story.assignees.all %}<li>{{ user.get_full_name }}</li>{% empty %}<li>(Aucun)</li>{% endfor %}</ul></p>
|
|
|
|
|
+ <p>Sprints: <ul class="tags-list">{% for sprint in story.sprints.all %}<li>{{ sprint }}</li>{% empty %}<li>(Aucun)</li>{% endfor %}</ul></p>
|
|
|
|
|
+
|
|
|
{% endblock %}
|
|
{% endblock %}
|