trombi: improve templates

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia 2017-07-26 16:53:40 +02:00
parent e80f5b6f0f
commit 8501df0bef
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@
<dt>{% trans author=c.author.user.get_display_name(),
target=c.target.user.get_display_name() %}Author: {{ author }} - Target: {{ target }}{% endtrans %}</dt>
<dd>
<p>
<pre>
{{ c.content }}
</p>
</pre>
<form action="{{ url('trombi:moderate_comment', comment_id=c.id )}}" method="post">
{% csrf_token %}
<input type="hidden" name="action" id="action" value="accept" />

View File

@ -54,7 +54,7 @@
<dl>
{% for c in trombi_user.received_comments.filter(is_moderated=True) %}
<dt style="font-weight: bold; font-size: 110%">{{ c.author.user.get_display_name() }}</dt>
<dd>{{ c.content }}</dd>
<dd><pre>{{ c.content }}</pre></dd>
{% endfor %}
</dl>
</div>