aboutsummaryrefslogtreecommitdiff
path: root/app/templates/todo.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-25 19:06:05 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-25 19:06:05 +0100
commitfb2552ab558b227f03a3b092eeb6a5f7bc406900 (patch)
treeb15887f939528d1239e1c5080f93aedcded2f690 /app/templates/todo.html
parent53df124973c15b90e070f9225fcbeccdb0e64e55 (diff)
downloadcheatdb-fb2552ab558b227f03a3b092eeb6a5f7bc406900.tar.xz
Finish screenshot approval feature
Diffstat (limited to 'app/templates/todo.html')
-rw-r--r--app/templates/todo.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/app/templates/todo.html b/app/templates/todo.html
index 35aee9a..b20f26c 100644
--- a/app/templates/todo.html
+++ b/app/templates/todo.html
@@ -8,7 +8,7 @@
{% if canApproveNew %}
<h2>Packages Awaiting Approval</h2>
<ul>
- {% for p in approve_new %}
+ {% for p in packages %}
<li><a href="{{ p.getDetailsURL() }}">
{{ p.title }} by {{ p.author.display_name }}
</a></li>
@@ -18,6 +18,23 @@
</ul>
{% endif %}
+ {% if canApproveScn %}
+ <h2>Screenshots Awaiting Approval</h2>
+ <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 %}
+
{% if canApproveRel %}
<h2>Releases Awaiting Approval</h2>
<ul>