aboutsummaryrefslogtreecommitdiff
path: root/app/templates/todo.html
blob: b20f26c639fd301ca8533d35be441882610c703e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{% extends "base.html" %}

{% block title %}
{{ title }}
{% endblock %}

{% block content %}
	{% if canApproveNew %}
		<h2>Packages Awaiting Approval</h2>
		<ul>
			{% 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 %}

	{% 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>
			{% 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 %}
{% endblock %}