diff --git a/templates/account/show.html b/templates/account/show.html index 139ff1f5..9d3c26e5 100644 --- a/templates/account/show.html +++ b/templates/account/show.html @@ -89,6 +89,7 @@ + {% endif %} diff --git a/templates/partials/archdev-navbar.html b/templates/partials/archdev-navbar.html index 9a3ba780..86f368d0 100644 --- a/templates/partials/archdev-navbar.html +++ b/templates/partials/archdev-navbar.html @@ -47,7 +47,6 @@ {% trans %}Login{% endtrans %} - {% endif %} - + {% endif %} diff --git a/templates/partials/packages/actions.html b/templates/partials/packages/actions.html index 81536a3d..3ab3f303 100644 --- a/templates/partials/packages/actions.html +++ b/templates/partials/packages/actions.html @@ -18,6 +18,7 @@ {{ "Download snapshot" | tr }} +
  • {{ "Search wiki" | tr }} @@ -49,43 +50,42 @@
  • {% endif %} -
  • - {% if not voted %} -
    +
  • + {% if not voted %} + + +
  • + {% else %} +
    + +
    + {% endif %} +
  • +
  • + {% if notified %} +
    + name="do_UnNotify" + value="{{ 'Disable notifications' | tr }}" + />
    - {% else %} -
    + {% else %} + + name="do_Notify" + value="{{ 'Enable notifications' | tr }}" + />
    - {% endif %} -
  • -
  • - {% if notified %} -
    - -
    - {% else %} -
    - -
    - {% endif %} -
  • - + {% endif %} + {% if request.user.has_credential('CRED_PKGBASE_EDIT_COMAINTAINERS', approved=[pkgbase.Maintainer]) %}