Commit 8501df0b authored by Skia's avatar Skia
Browse files

trombi: improve templates


Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent e80f5b6f
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<dt>{% trans author=c.author.user.get_display_name(), <dt>{% trans author=c.author.user.get_display_name(),
target=c.target.user.get_display_name() %}Author: {{ author }} - Target: {{ target }}{% endtrans %}</dt> target=c.target.user.get_display_name() %}Author: {{ author }} - Target: {{ target }}{% endtrans %}</dt>
<dd> <dd>
<p> <pre>
{{ c.content }} {{ c.content }}
</p> </pre>
<form action="{{ url('trombi:moderate_comment', comment_id=c.id )}}" method="post"> <form action="{{ url('trombi:moderate_comment', comment_id=c.id )}}" method="post">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="action" id="action" value="accept" /> <input type="hidden" name="action" id="action" value="accept" />
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<dl> <dl>
{% for c in trombi_user.received_comments.filter(is_moderated=True) %} {% 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> <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 %} {% endfor %}
</dl> </dl>
</div> </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