Projet

Général

Profil

0001-portal-agent-use-template-to-define-publik-title-281.patch

combo - Frédéric Péters, 18 novembre 2018 19:36

Télécharger (1,28 ko)

Voir les différences:

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(-)
data/themes/gadjo/static/js/publik.js
162 162
  }
163 163

  
164 164
  var sidepage_button = $('#sidepage #applabel');
165
  sidepage_button.text('Publik');
166 165
  sidepage_button.css('visibility', 'visible');
167 166

  
168 167
  /* This won't work if portal agent is installed directly in a top domain
data/themes/gadjo/templates/gadjo/base.html
16 16

  
17 17
{% block more-user-links %}
18 18
{% endblock %}
19

  
20
{% block sidepage %}
21
<div id="sidepage">
22
  <span id="applabel">Publik</span>
23
</div>
24
{% endblock %}
19
-