[saem-devel] [PATCH 10 of 10 sherpa] More navigation links

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Feb 23 10:19:48 CET 2017


On 02/23/2017 09:32 AM, Sylvain Thenault wrote:
> # HG changeset patch
> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
> # Date 1487802144 -3600
> #      Wed Feb 22 23:22:24 2017 +0100
> # Node ID 2175baf47210b0b1f0958a3a1c66153969e626c1
> # Parent  6b3f97568caa4a9e4fc8b90816ced41d6216cf59
> More navigation links
>
> display links to authority record and concept scheme, but seda profile first!
>
> diff --git a/views/templates.py b/views/templates.py
> --- a/views/templates.py
> +++ b/views/templates.py
> @@ -93,14 +93,18 @@ class SherpaMainTemplate(basetemplates.T
>              'contextual_components': contextual_components,
>              'right_header_component': right_header_component,
>              'left_boxes': left_boxes_html,
>              'side_box': {
>                  'goTo_links': [
> +                    {'url': url('SEDAArchiveTransfer'),
> +                     'label': 'profils SEDA'},
>                      {'url': url('sedalib'),
>                       'label': u"unités d'archive"},
> -                    {'url': url('SEDAArchiveTransfer'),
> -                     'label': 'profils SEDA'}
> +                    {'url': url('AuthorityRecord'),
> +                     'label': u"notices d'autorité"},
> +                    {'url': url('ConceptScheme'),
> +                     'label': u"vocabulaires"},
>                  ],
>              },
>              'footer': {
>                  'resources': [
>                      {'url': url('shema_seda'),

Patch 10 applied as well



More information about the saem-devel mailing list