blob: fefc13ecd0d51054fdf6310fb8f182929dcf94e0 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
{%extends "base/page.html"%}
{%block title%}Your account{%endblock%}
{%block contents%}
<h1>{{title|title}}s <i class="fas fa-th-list"></i></h1>
<p>
The following {{title}}s are associated with an organisation you are a manager for.
</p>
{%if objects.inprogress %}
<h3>Not submitted</h3>
<p>
You can edit these {{title}}s an unlimited number of times, but they will not
be published until they are submitted for moderation and approved.
</p>
<ul>
{%for o in objects.inprogress %}
<li><a href="/account/{{suburl}}/{{o.id}}/">{{o}}</a> — (<a href="/account/{{suburl}}/{{o.id}}/submit/">Submit for moderation</a>)</li>
{%endfor%}
</ul>
<p>
<strong>Note</strong>: Each individual {{title}} needs to be submitted for moderation.
</p>
{%endif%}
{% if objects.unapproved %}
<h3>Waiting for moderator approval</h3>
<p>
These {{title}}s are pending moderator approval. As soon as a moderator has reviewed them,
they will be published.
{%if not tristate%}
You can make further changes to them while you wait for moderator approval.
{%else%}
If you withdraw a submission, it will return to <i>Not submitted</i> status and you can make
further changes.
{%endif%}
</p>
<ul>
{%for o in objects.unapproved %}
{%if tristate%}
<li>{{o}} (<a href="/account/{{suburl}}/{{o.id}}/withdraw/">Withdraw</a>)</li>
{%else%}{# one-step approval allows editing in unapproved state #}
<li><a href="/account/{{suburl}}/{{o.id}}/">{{o}}</a></li>
{%endif%}
{%endfor%}
</ul>
{% endif %}
{% if objects.approved %}
<h3>Approved</h3>
{%if not editapproved%}
<p>
These {{title}}s are approved and published, and can no longer be edited. If you need to make
any changes to these objects, please contact
<a href="mailto:webmaster@postgresql.org">webmaster@postgresql.org</a>.
</p>
{%else%}
<p>
These objects are approved and published, but you can still edit them. Any changes you make
will notify moderators, who may decide to reject the object based on the changes.
</p>
{%endif%}
<ul>
{%for o in objects.approved %}
{%if editapproved%}
<li><a href="/account/{{suburl}}/{{o.id}}/">{{o}}</a></li>
{%else%}
<li>{{o}}</li>
{%endif%}
{%endfor%}
</ul>
{% endif %}
{%if submit_header%}
<p>{{submit_header|safe}}</p>
{%endif%}
<p>
<a class="btn btn-primary" href="/account/{{suburl}}/new/">Submit {{title}}</a>
</p>
{%endblock%}
|