contentdb/app/templates/todo/list.html

71 lines
1.5 KiB
HTML
Raw Normal View History

2018-03-21 20:24:45 +01:00
{% extends "base.html" %}
{% block title %}
{{ title }}
{% endblock %}
{% block content %}
2018-06-02 20:41:13 +02:00
<h2>Awaiting Approval</h2>
{% if canApproveNew and packages %}
<h3>Packages</h3>
<ul>
2018-05-25 20:06:05 +02:00
{% for p in packages %}
<li><a href="{{ p.getDetailsURL() }}">
{{ p.title }} by {{ p.author.display_name }}
</a></li>
{% else %}
<li><i>No packages need reviewing.</i></ul>
{% endfor %}
</ul>
{% endif %}
2018-03-21 20:24:45 +01:00
2018-06-02 20:41:13 +02:00
{% if canApproveScn and screenshots %}
<h3>Screenshots</h3>
2018-05-25 20:06:05 +02:00
<ul>
{% for s in screenshots %}
<li>
<a href="{{ s.getEditURL() }}">{{ s.title }}</a>
on
<a href="{{ s.package.getDetailsURL() }}">
{{ s.package.title }} by {{ s.package.author.display_name }}
</a>
</li>
{% else %}
<li><i>No screenshots need reviewing.</i></ul>
{% endfor %}
</ul>
{% endif %}
2018-06-02 20:41:13 +02:00
{% if canApproveRel and releases %}
<h3>Releases</h3>
<ul>
{% for r in releases %}
<li>
<a href="{{ r.getEditURL() }}">{{ r.title }}</a>
on
<a href="{{ r.package.getDetailsURL() }}">
{{ r.package.title }} by {{ r.package.author.display_name }}
</a>
</li>
{% else %}
<li><i>No releases need reviewing.</i></ul>
{% endfor %}
</ul>
{% endif %}
2018-06-02 20:41:13 +02:00
{% if not (packages or screenshots or releases) %}
<p>
<i>All done!</i>
</p>
{% endif %}
<h2>Unadded Topic List</h2>
<p>
There are
<a href="{{ url_for('todo_topics_page') }}">{{ topics_to_add }} packages</a>
2018-06-02 20:41:13 +02:00
to be added to cdb, based on forum topics picked up by Krock's mod search.
</p>
2018-03-21 20:24:45 +01:00
{% endblock %}