Fix url under the SHERPA logo
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 13 Jun 2017 12:08:43 +0200
changeset 289 ba9abd1f18b4
parent 287 14bec3e033c9
child 290 24301263fc28
Fix url under the SHERPA logo it may not be /, so properly build the url as done for the SIAF logo. Closes #17084052
cubicweb_sherpa/views/templates/maintemplate.jinja2.html
--- a/cubicweb_sherpa/views/templates/maintemplate.jinja2.html	Wed Apr 19 08:52:56 2017 +0200
+++ b/cubicweb_sherpa/views/templates/maintemplate.jinja2.html	Tue Jun 13 12:08:43 2017 +0200
@@ -5,7 +5,7 @@
         <a href="{{ build_url('') }}"><img src="{{ data_url }}images/logo_SIAF.png" class="logoSIAF" /></a>
       </div>
       <div class="col-md-7 col-xs-8">
-        <a href="/">
+        <a href="{{ build_url('') }}">
           <div class="logoSHERPA">
             <img src="{{ data_url }}images/logo_SHERPA_2.png" class="img-responsive"/>
           </div>