2017-05-12 16:30:06 +00:00
|
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% trans %}Moderate Trombi comments{% endtrans %}
|
2017-05-12 16:30:06 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<h3>{% trans %}Moderate Trombi comments{% endtrans %}</h3>
|
|
|
|
|
<h4>{{ trombi }}</h4>
|
|
|
|
|
<a href="{{ url('trombi:detail', trombi_id=object.id) }}">{% trans %}Back{% endtrans %}</a>
|
|
|
|
|
<hr>
|
|
|
|
|
<dl>
|
|
|
|
|
{% for c in comments %}
|
|
|
|
|
<dt>{% trans author=c.author.user.get_display_name(),
|
|
|
|
|
target=c.target.user.get_display_name() %}Author: {{ author }} - Target: {{ target }}{% endtrans %}</dt>
|
|
|
|
|
<dd>
|
2017-07-26 14:53:40 +00:00
|
|
|
|
<pre>
|
2017-05-12 16:30:06 +00:00
|
|
|
|
{{ c.content }}
|
2017-07-26 14:53:40 +00:00
|
|
|
|
</pre>
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<form action="{{ url('trombi:moderate_comment', comment_id=c.id )}}" method="post">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
<input type="hidden" name="action" id="action" value="accept" />
|
|
|
|
|
<p><input type="submit" value="{% trans %}Accept{% endtrans %}" /></p>
|
|
|
|
|
</form>
|
|
|
|
|
<form action="{{ url('trombi:moderate_comment', comment_id=c.id )}}" method="post">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
<input type="hidden" name="action" id="action" value="reject" />
|
|
|
|
|
<p><input type="submit" value="{% trans %}Reject{% endtrans %}" /></p>
|
|
|
|
|
</form>
|
|
|
|
|
</dd>
|
2017-05-12 16:30:06 +00:00
|
|
|
|
{% endfor %}
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|