From e1b20061ae6edc1f930b256bf7ecddad97963184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 18 Nov 2018 19:35:22 +0100 Subject: [PATCH] portal agent: use template to define publik title (#28118) --- data/themes/gadjo/static/js/publik.js | 1 - data/themes/gadjo/templates/gadjo/base.html | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/data/themes/gadjo/static/js/publik.js b/data/themes/gadjo/static/js/publik.js index 06c06c67..64f8eeac 100644 --- a/data/themes/gadjo/static/js/publik.js +++ b/data/themes/gadjo/static/js/publik.js @@ -162,7 +162,6 @@ $(function() { } var sidepage_button = $('#sidepage #applabel'); - sidepage_button.text('Publik'); sidepage_button.css('visibility', 'visible'); /* This won't work if portal agent is installed directly in a top domain diff --git a/data/themes/gadjo/templates/gadjo/base.html b/data/themes/gadjo/templates/gadjo/base.html index 71b02845..2ea98858 100644 --- a/data/themes/gadjo/templates/gadjo/base.html +++ b/data/themes/gadjo/templates/gadjo/base.html @@ -16,3 +16,9 @@ {% block more-user-links %} {% endblock %} + +{% block sidepage %} +
+ Publik +
+{% endblock %}