2017-11-28 14:02:46 +00:00
|
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
|
|
{% block script %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{{ super() }}
|
|
|
|
|
<script src="{{ static('com/js/poster_list.js') }}"></script>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<div id="poster_list">
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
|
|
<div id="title">
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<div id="links" class="left">
|
|
|
|
|
<a id="list" class="link" href="{{ url("com:poster_list") }}">{% trans %}List{% endtrans %}</a>
|
|
|
|
|
</div>
|
|
|
|
|
<h3>{% trans %}Posters - moderation{% endtrans %}</h3>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="posters">
|
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% if object_list.count == 0 %}
|
|
|
|
|
<div id="no-posters">{% trans %}No objects{% endtrans %}</div>
|
|
|
|
|
{% else %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% for poster in object_list %}
|
|
|
|
|
<div class="poster{% if not poster.is_moderated %} not_moderated{% endif %}">
|
|
|
|
|
<div class="name"> {{ poster.name }} </div>
|
|
|
|
|
<div class="image"> <img src="{{ poster.file.url }}"></img> </div>
|
|
|
|
|
<a class="moderate" href="{{ url("com:poster_moderate", object_id=poster.id) }}">Moderate</a>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% endif %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="view"><div id="placeholder"></div></div>
|
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
</div>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
{% endblock %}
|