Merge branch 'fix-missing-tags' into pu

This commit is contained in:
Kevin Morris 2021-10-18 22:17:29 -07:00
commit e05cfc3375
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 33 additions and 33 deletions

View file

@ -89,6 +89,7 @@
</tbody> </tbody>
</table> </table>
</td> </td>
</tr>
</tbody> </tbody>
</table> </table>
{% endif %} {% endif %}

View file

@ -47,7 +47,6 @@
{% trans %}Login{% endtrans %} {% trans %}Login{% endtrans %}
</a> </a>
</li> </li>
{% endif %} {% endif %}
</li>
</ul> </ul>
</div> </div>

View file

@ -18,6 +18,7 @@
<a href="/cgit/aur.git/snapshot/{{ pkgbase.Name }}.tar.gz"> <a href="/cgit/aur.git/snapshot/{{ pkgbase.Name }}.tar.gz">
{{ "Download snapshot" | tr }} {{ "Download snapshot" | tr }}
</a> </a>
</li>
<li> <li>
<a href="https://wiki.archlinux.org/title/Special:Search?search={{ pkgbase.Name }}"> <a href="https://wiki.archlinux.org/title/Special:Search?search={{ pkgbase.Name }}">
{{ "Search wiki" | tr }} {{ "Search wiki" | tr }}
@ -49,43 +50,42 @@
</form> </form>
</li> </li>
{% endif %} {% endif %}
<li> <li>
{% if not voted %} {% if not voted %}
<form action="/pkgbase/{{ pkgbase.Name }}/vote/" method="post"> <form action="/pkgbase/{{ pkgbase.Name }}/vote/" method="post">
<input type="submit"
class="button text-button"
name="do_Vote"
value="{{ 'Vote for this package' | tr }}" />
</form>
{% else %}
<form action="/pkgbase/{{ pkgbase.Name }}/unvote/" method="post">
<input type="submit"
class="button text-button"
name="do_UnVote"
value="{{ 'Remove vote' | tr }}" />
</form>
{% endif %}
</li>
<li>
{% if notified %}
<form action="/pkgbase/{{ pkgbase.Name }}/unnotify/" method="post">
<input type="submit" <input type="submit"
class="button text-button" class="button text-button"
name="do_Vote" name="do_UnNotify"
value="{{ 'Vote for this package' | tr }}" /> value="{{ 'Disable notifications' | tr }}"
/>
</form> </form>
{% else %} {% else %}
<form action="/pkgbase/{{ pkgbase.Name }}/unvote/" method="post"> <form action="/pkgbase/{{ pkgbase.Name }}/notify/" method="post">
<input type="submit" <input type="submit"
class="button text-button" class="button text-button"
name="do_UnVote" name="do_Notify"
value="{{ 'Remove vote' | tr }}" /> value="{{ 'Enable notifications' | tr }}"
/>
</form> </form>
{% endif %} {% endif %}
</li> </li>
<li>
{% if notified %}
<form action="/pkgbase/{{ pkgbase.Name }}/unnotify/" method="post">
<input type="submit"
class="button text-button"
name="do_UnNotify"
value="{{ 'Disable notifications' | tr }}"
/>
</form>
{% else %}
<form action="/pkgbase/{{ pkgbase.Name }}/notify/" method="post">
<input type="submit"
class="button text-button"
name="do_Notify"
value="{{ 'Enable notifications' | tr }}"
/>
</form>
{% endif %}
</li>
</form>
{% if request.user.has_credential('CRED_PKGBASE_EDIT_COMAINTAINERS', approved=[pkgbase.Maintainer]) %} {% if request.user.has_credential('CRED_PKGBASE_EDIT_COMAINTAINERS', approved=[pkgbase.Maintainer]) %}
<li> <li>
<a href="/pkgbase/{{ pkgbase.Name }}/comaintainers/"> <a href="/pkgbase/{{ pkgbase.Name }}/comaintainers/">