summaryrefslogtreecommitdiffstats
path: root/templates/packages/signoff_cell.html
blob: 7d9e197265492870d9f687428058bdbc025fcb62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% if group.signoffs %}
<ul class="signoff-list">
    {% for signoff in group.signoffs %}
    <li class="signed-username" title="Signed off by {{ signoff.user }}">{{ signoff.user }}{% if signoff.revoked %} (revoked){% endif %}</li>
    {% endfor %}
</ul>
{% endif %}
{% if group.user_signed_off %}
<div>
    <a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/revoke/"
        title="Revoke signoff {{ group.pkgbase }} for {{ group.arch }}">Revoke Signoff</a></div>
{% else %}
{% if not group.specification.known_bad and group.specification.enabled %}
<div>
    <a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/"
        title="Signoff {{ group.pkgbase }} for {{ group.arch }}">Signoff</a></div>
{% endif %}
{% endif %}
{% if user == group.packager or user in group.maintainers %}
<div>
    <a class="signoff-options" href="{{ group.package.get_absolute_url }}signoff/options/">Signoff Options</a>
</div>
{% endif %}