diff --git a/progit/templates/issue.html b/progit/templates/issue.html index acc2373..c62f734 100644 --- a/progit/templates/issue.html +++ b/progit/templates/issue.html @@ -4,27 +4,13 @@ {% block title %}Issue #{{ issueid }} - {{ repo.name }}{% endblock %} {%block tag %}home{% endblock %} -{% macro show_comment(user, date, content, aside=False) %} +{% macro show_comment(user, date, content) %}
{{ user.user | avatar(16) | safe }} {{ user.user }} - {{ date | humanize}} - {% if aside %} - - {% endif %}
{% autoescape false %} @@ -43,9 +29,21 @@ repo=repo.name, issueid=issueid) }}"> Edit {% endif %} + -{{ show_comment(issue.user, issue.date_created, issue.content, True) }} +{{ show_comment(issue.user, issue.date_created, issue.content) }} {% if issue.comments %} {% for comment in issue.comments %}