From c75de07c2ecf8f799a15d6a97cb5b8043f2fbdad Mon Sep 17 00:00:00 2001 From: AaronKable Date: Mon, 8 Jun 2020 20:47:05 +0800 Subject: [PATCH] Only show Pre-Release when available --- .../templates/allianceauth/admin-status/overview.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/allianceauth/templates/allianceauth/admin-status/overview.html b/allianceauth/templates/allianceauth/admin-status/overview.html index afc4757f..4a4a2d06 100644 --- a/allianceauth/templates/allianceauth/admin-status/overview.html +++ b/allianceauth/templates/allianceauth/admin-status/overview.html @@ -46,20 +46,18 @@ {% if not latest_patch %}
{% trans "Update available" %}{% endif %}

-
  • + {% if latest_beta %} +
  • {% trans "Latest Pre-Release" %}

    - {% if latest_beta %} {{ latest_beta_version }} - {% if not latest_patch %}
    {% trans "Pre-Release available" %}{% endif %} - {% else %} - {% trans "No Current Pre-Release" %} - {% endif %} +
    {% trans "Pre-Release available" %}

  • + {% endif %}