summaryrefslogtreecommitdiff
path: root/templates/packages/signoff_cell.html
blob: 01a5d58d9e037ff18775777a11e007318fe73df0 (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
{% spaceless %}
{% 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 %}
{% endspaceless %}