mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
trombi: improve templates
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
e80f5b6f0f
commit
8501df0bef
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user