2018-03-21 20:24:45 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ title }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-03-21 20:53:53 +01:00
|
|
|
{% if canApproveNew %}
|
|
|
|
<h2>Packages Awaiting Approval</h2>
|
|
|
|
<ul>
|
|
|
|
{% for p in approve_new %}
|
|
|
|
<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-03-21 20:53:53 +01:00
|
|
|
{% 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 %}
|
2018-03-21 20:24:45 +01:00
|
|
|
{% endblock %}
|