index.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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-circle" style="margin-right: 0.5em; color:{{ epic.project.color }};" title="{{ epic.project.name }}"></i>
  31. <b>{{ epic.name }}</b>
  32. </td>
  33. <td>{{ epic.size }}</td>
  34. <td>{{ epic.contributors_str }}</td>
  35. <td>{{ epic.nb_stories }}</td>
  36. </tr>
  37. {% endfor %}
  38. </tbody>
  39. </table>
  40. </section>
  41. {% endblock %}