Commit 8501df0b authored by Skia's avatar Skia

trombi: improve templates

Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent e80f5b6f
......@@ -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" />
......
......@@ -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>
......
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