]> git.lizzy.rs Git - cheatdb.git/blob - app/templates/todo.html
Add package inclusion policy and guidance
[cheatdb.git] / app / templates / todo.html
1 {% extends "base.html" %}
2
3 {% block title %}
4 {{ title }}
5 {% endblock %}
6
7 {% block content %}
8         {% if canApproveNew %}
9                 <h2>Packages Awaiting Approval</h2>
10                 <ul>
11                         {% for p in packages %}
12                                 <li><a href="{{ p.getDetailsURL() }}">
13                                         {{ p.title }} by {{ p.author.display_name }}
14                                 </a></li>
15                         {% else %}
16                                 <li><i>No packages need reviewing.</i></ul>
17                         {% endfor %}
18                 </ul>
19         {% endif %}
20
21         {% if canApproveScn %}
22                 <h2>Screenshots Awaiting Approval</h2>
23                 <ul>
24                         {% for s in screenshots %}
25                                 <li>
26                                         <a href="{{ s.getEditURL() }}">{{ s.title }}</a>
27                                         on
28                                         <a href="{{ s.package.getDetailsURL() }}">
29                                                 {{ s.package.title }} by {{ s.package.author.display_name }}
30                                         </a>
31                                 </li>
32                         {% else %}
33                                 <li><i>No screenshots need reviewing.</i></ul>
34                         {% endfor %}
35                 </ul>
36         {% endif %}
37
38         {% if canApproveRel %}
39                 <h2>Releases Awaiting Approval</h2>
40                 <ul>
41                         {% for r in releases %}
42                                 <li>
43                                         <a href="{{ r.getEditURL() }}">{{ r.title }}</a>
44                                         on
45                                         <a href="{{ r.package.getDetailsURL() }}">
46                                                 {{ r.package.title }} by {{ r.package.author.display_name }}
47                                         </a>
48                                 </li>
49                         {% else %}
50                                 <li><i>No releases need reviewing.</i></ul>
51                         {% endfor %}
52                 </ul>
53         {% endif %}
54 {% endblock %}