<html>
  <body>
    {% regroup issues by info.issue_type as issue_types %}
    {% for issue_type, sub_issues in issue_types %}
      {% if issue_type and issue_type != 'TECH' %}
        {% if issue_type == 'NEW' %}
          <h4>Nouveaut&eacute;s</h4>
        {% elif issue_type == 'BUGFIX' %}
          <h4>Corrections</h4>
        {% elif issue_type == 'DEV' %}
          <h4>D&eacute;veloppement</h4>
        {% endif %}
        <ul>
          {% for issue in sub_issues %}
            <li>{% if issue.info.wording %}{{ issue.info.wording }}{% else %}{{ issue.subject }}{% endif %} (<a href="{{ issue.url }}">#{{ issue.id }}</a>) [&nbsp;{% for module in issue.modules.keys %}{{ module }}{% if not forloop.last %},&nbsp;{% endif %}{% endfor %}&nbsp;]</li>
          {% endfor %}
        </ul>
      {% endif %}
    {% endfor %}
  </body>
</html>
