Commit 0dd54687 authored by Michal Čihař's avatar Michal Čihař

Support for displaying source comments

parent 536f30c3
{% for comment in comments %}
<tr>
<td>
<strong>{{ comment.user.get_full_name }}</strong><br />
{{ comment.timestamp|date:"DATETIME_FORMAT" }}
</td>
<td>{{ comment.comment }}</td>
</tr>
{% endfor %}
......@@ -59,6 +59,12 @@
{% with source as unit %}
{% include "unit-details.html" %}
{% endwith %}
{% with source.get_source_comments as comments %}
{% if comments %}
<tr><th colspan="2">{% trans "User comments" %}</th></tr>
{% include "list-comments.html" %}
{% endif %}
{% endwith %}
</table>
</td>
<td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment