[saem-devel] [PATCH 04 of 10 sherpa] Fix path to link to component archive units

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Feb 23 09:32:53 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1487796087 -3600
#      Wed Feb 22 21:41:27 2017 +0100
# Node ID a3d5446bb9ee09dd11340b127ee58d344ac9dea9
# Parent  15eddcb41ebac30caa0d25bc76548ec4e7d10b5c
Fix path to link to component archive units

not every archive units.

diff --git a/views/templates.py b/views/templates.py
--- a/views/templates.py
+++ b/views/templates.py
@@ -85,11 +85,11 @@ class SherpaMainTemplate(basetemplates.T
             'breadcrumbs': breadcrumbs,
             'right_header_component': right_header_component,
             'left_boxes': left_boxes_html,
             'side_box': {
                 'goTo_links': [
-                    {'url': url('SEDAArchiveUnit'),
+                    {'url': url('sedalib'),
                      'label': u"unités d'archive"},
                     {'url': url('SEDAArchiveTransfer'),
                      'label': 'profils SEDA'}
                 ],
             },


More information about the saem-devel mailing list