From 3fe8ae27356848185e332e0ab5d803b03b05b48d Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sun, 21 Jun 2020 14:10:04 +0200 Subject: [PATCH] Hardcode SaFire and ShaRe tiles for the time being --- usr/share/vmmgr/templates/portal-admin.html | 24 +++++++++++++++++++++ usr/share/vmmgr/templates/portal-user.html | 16 ++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/usr/share/vmmgr/templates/portal-admin.html b/usr/share/vmmgr/templates/portal-admin.html index e3eac40..b3efc99 100644 --- a/usr/share/vmmgr/templates/portal-admin.html +++ b/usr/share/vmmgr/templates/portal-admin.html @@ -48,6 +48,30 @@ {% endif %} +{% if 'safire' in visible_apps %} +{% set app = apps['safire'] %} +
+

Sahana EDEN SaFiReSahana EDEN SaFiRe

+

Samostatná instance Sahana EDEN s šablonou SaFiRe.

+ +
+{% endif %} + +{% if 'share' in visible_apps %} +{% set app = apps['share'] %} +
+

Sahana EDEN ShaReSahana EDEN ShaRe

+

Samostatná instance Sahana EDEN s šablonou ShaRe.

+ +
+{% endif %} + {% if 'crisiscleanup' in visible_apps %} {% set app = apps['crisiscleanup'] %}
diff --git a/usr/share/vmmgr/templates/portal-user.html b/usr/share/vmmgr/templates/portal-user.html index 9e4cb90..94fcd86 100644 --- a/usr/share/vmmgr/templates/portal-user.html +++ b/usr/share/vmmgr/templates/portal-user.html @@ -25,6 +25,22 @@
{% endif %} +{% if 'safire' in visible_apps %} +{% set app = apps['safire'] %} +
+

Řešení nouzových událostí

+

Samostatná instance s šablonou pro řešení nouzových událostí.

+
+{% endif %} + +{% if 'share' in visible_apps %} +{% set app = apps['share'] %} +
+

Úleva a rehabilitace

+

Samostatná instance s šablonou pro úlevu a rehabilitace.

+
+{% endif %} + {% if 'crisiscleanup' in visible_apps %} {% set app = apps['crisiscleanup'] %}