summaryrefslogtreecommitdiffstats
path: root/templates/packages/signoff_cell.html
blob: 6c705b4e67504a59f570e59214678059ced54594 (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>
    {% 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 group.packager == user %}
<div>
    <a class="signoff-options" href="{{ group.package.get_absolute_url }}signoff/options/">Packager Options</a>
</div>
{% endif %}
{% endspaceless %}