From d0684862fec38672439a115cf7ba0f9ff5826ece Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sat, 9 Dec 2023 18:14:13 +0100 Subject: [PATCH] [CHANGE] Minor corrections --- .../templates/timerboard/index_button.html | 1 + .../timerboard/timer_confirm_delete.html | 12 +++++- .../templates/timerboard/timertable.html | 39 ++++++++++--------- 3 files changed, 31 insertions(+), 21 deletions(-) diff --git a/allianceauth/timerboard/templates/timerboard/index_button.html b/allianceauth/timerboard/templates/timerboard/index_button.html index 6f7a5c3e..b31c2763 100644 --- a/allianceauth/timerboard/templates/timerboard/index_button.html +++ b/allianceauth/timerboard/templates/timerboard/index_button.html @@ -1,4 +1,5 @@ {% load i18n %} +
{% translate "Back" %}
diff --git a/allianceauth/timerboard/templates/timerboard/timer_confirm_delete.html b/allianceauth/timerboard/templates/timerboard/timer_confirm_delete.html index 5491054e..5a1119ac 100644 --- a/allianceauth/timerboard/templates/timerboard/timer_confirm_delete.html +++ b/allianceauth/timerboard/templates/timerboard/timer_confirm_delete.html @@ -1,22 +1,30 @@ {% extends "allianceauth/base-bs5.html" %} + {% load i18n %} {% block page_title %} {% translate "Delete Timer" %} {% endblock page_title %} +{% block header_nav_brand %} + {% translate "Structure Timers" %} +{% endblock header_nav_brand %} + {% block content %} -
-

+
+

{% translate "Delete Timer" %} {% include "timerboard/index_button.html" %}

+
{% csrf_token %} +

{% blocktranslate %}Are you sure you want to delete timer "{{ object }}"?{% endblocktranslate %}

+
diff --git a/allianceauth/timerboard/templates/timerboard/timertable.html b/allianceauth/timerboard/templates/timerboard/timertable.html index a3dcce61..fc37f4d2 100644 --- a/allianceauth/timerboard/templates/timerboard/timertable.html +++ b/allianceauth/timerboard/templates/timerboard/timertable.html @@ -11,6 +11,7 @@ {% translate "Eve Time" %} {% translate "Local Time" %} {% translate "Creator" %} + {% if perms.auth.timer_management %} {% translate "Action" %} {% endif %} @@ -60,115 +61,115 @@ {% if timer.structure == "POCO" %}
- POCO + {% translate "POCO" %}
{% endif %} {% if timer.structure == "I-HUB" %}
- I-HUB + {% translate "I-HUB" %}
{% endif %} {% if timer.structure == "TCU" %}
- TCU + {% translate "TCU" %}
{% endif %} {% if timer.structure == "POS[S]" %}
- POS [S] + {% translate "POS [S]" %}
{% endif %} {% if timer.structure == "POS[M]" %}
- POS [M] + {% translate "POS [M]" %}
{% endif %} {% if timer.structure == "POS[L]" %}
- POS [L] + {% translate "POS [L]" %}
{% endif %} {% if timer.structure == "Citadel[M]" or timer.structure == "Astrahus" %}
- Astrahus + {% translate "Astrahus" %}
{% endif %} {% if timer.structure == "Citadel[L]" or timer.structure == "Fortizar" %}
- Fortizar + {% translate "Fortizar" %}
{% endif %} {% if timer.structure == "Citadel[XL]" or timer.structure == "Keepstar" %}
- Keepstar + {% translate "Keepstar" %}
{% endif %} {% if timer.structure == "Engineering Complex[M]" or timer.structure == "Raitaru" %}
- Raitaru + {% translate "Raitaru" %}
{% endif %} {% if timer.structure == "Engineering Complex[L]" or timer.structure == "Azbel" %}
- Azbel + {% translate "Azbel" %}
{% endif %} {% if timer.structure == "Engineering Complex[XL]" or timer.structure == "Sotiyo" %}
- Sotiyo + {% translate "Sotiyo" %}
{% endif %} {% if timer.structure == "Refinery[M]" or timer.structure == "Athanor" %}
- Athanor + {% translate "Athanor" %}
{% endif %} {% if timer.structure == "Refinery[L]" or timer.structure == "Tatara"%}
- Tatara + {% translate "Tatara" %}
{% endif %} {% if timer.structure == "Cyno Beacon" or timer.structure == "Pharolux Cyno Beacon" %}
- Cyno Beacon + {% translate "Cyno Beacon" %}
{% endif %} {% if timer.structure == "Cyno Jammer" or timer.structure == "Tenebrex Cyno Jammer" %}
- Tenebrex Cyno Jammer + {% translate "Cyno Jammer" %}
{% endif %} {% if timer.structure == "Jump Gate" or timer.structure == "Ansiblex Jump Gate" %}
- Ansiblex Jump Gate + {% translate "Ansiblex Jump Gate" %}
{% endif %} {% if timer.structure == "Moon Mining Cycle" %}
- Moon Mining Cycle + {% translate "Moon Mining Cycle" %}
{% endif %} {% if timer.structure == "Other" %}
- Other + {% translate "Other" %}
{% endif %}