index.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {% extends '_layout.html' %}
  2. {% block breadcrumb %}
  3. <li><a>Accueil</a></li>
  4. {% endblock %}
  5. {% block main %}
  6. <section id="backlog">
  7. <header>
  8. <div class="flex-row">
  9. <h2 class="flex-extend">Backlog <sup><a href="{% url 'backlog_editor' %}" style="margin-left: 5px;"><i class="fa fa-pencil"></i></a></sup></h2>
  10. <span>
  11. {% if current_sprint %}
  12. <b>En cours:</b> <a href="{% url 'story_index' %}?sprint={{ current_sprint.id }}">{{ current_sprint }}</a>
  13. {% else %}
  14. <i>Sprint en cours: (non défini)</i>
  15. {% endif %}
  16. </span>
  17. </div>
  18. </header>
  19. <table class="alt">
  20. <thead>
  21. <th width="70%">Epic</th>
  22. <th>Dim.</th>
  23. <th>Contributeurs</th>
  24. <th>Stories</th>
  25. </thead>
  26. <tbody>
  27. {% for epic in epics %}
  28. <tr data-url="{% url 'epic_details' epic_id=epic.id %}">
  29. <td>
  30. <i class="fa fa-sticky-note" style="margin-right: 0.5em; color:{{ epic.project.color }};" title="Projet: {{ epic.project.name }}"></i>
  31. <a href="{% url 'epic_details' epic_id=epic.id %}">
  32. {% if epic.value > 0 %}
  33. <b>{{ epic.name }}</b>
  34. {% else %}
  35. <i style="color: grey;">{{ epic.name }}</i>
  36. {% endif %}
  37. </a>
  38. </td>
  39. <td{% if 'L' in epic.size %} style="font-weight:700;"{% endif %}>{{ epic.size }}</td>
  40. <td style="font-size: 0.8em;">{{ epic.contributors_str }}</td>
  41. <td>{{ epic.nb_stories }}</td>
  42. </tr>
  43. {% endfor %}
  44. </tbody>
  45. </table>
  46. </section>
  47. {% endblock %}