Commits

Benoît Allard committed 4a79f65

web: Add issue url in the issue decription page

Comments (0)

Files changed (1)

web/templates/issue.html

 
 {% block body %}
 <div class="issue">
-  <h3>{{ issue.ref }}</h3>
-  {# Add a link to the issue tracking system #}
+  <h3>{{ issue.ref }}
+  {% set url = url_for_issue(issue) %}
+  {% if url %}
+   (<a href="{{ url }}" class="external">BTS</a>)
+  {% endif %}</h3>
   {{ macros.render_changesets_for_issue(issue)|safe }}
 </div>
 {% endblock %}