[PATCH sherpa] Fix url under the SHERPA logo

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Jun 29 11:15:07 CEST 2017


On 06/13/2017 02:36 PM, Sylvain Thenault wrote:
> # HG changeset patch
> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
> # Date 1497348523 -7200
> #      Tue Jun 13 12:08:43 2017 +0200
> # Node ID ba9abd1f18b42de889cab71d199f7353ea7b7ab9
> # Parent  14bec3e033c9782d8ac05608d738d2d4d76029fd
> # Available At https://hg.logilab.org/review/cubes/sherpa
> #              hg pull https://hg.logilab.org/review/cubes/sherpa -r ba9abd1f18b4
> Fix url under the SHERPA logo
> 
> it may not be /, so properly build the url as done for the SIAF logo.
> 
> Closes #17084052
> 

Applied, thanks !


> diff --git a/cubicweb_sherpa/views/templates/maintemplate.jinja2.html b/cubicweb_sherpa/views/templates/maintemplate.jinja2.html
> --- a/cubicweb_sherpa/views/templates/maintemplate.jinja2.html
> +++ b/cubicweb_sherpa/views/templates/maintemplate.jinja2.html
> @@ -3,11 +3,11 @@
>      <div class="container-fluid">
>        <div class="col-md-2 hidden-xs hidden-sm">
>          <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>
>            <div class="textSHERPA">
>              <h1>Service Hébergé pour la Rédaction de Profils d'Archivage</h1>
> 



More information about the saem-devel mailing list