[saem-devel] [PATCH 02 of 10 sherpa] Fix some labels to have a consistent capitalization

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


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1487795858 -3600
#      Wed Feb 22 21:37:38 2017 +0100
# Node ID aca5be11649a62c260dcc42d9e268dbb338f4a84
# Parent  98432b541113a2d760bcc90c79327d16eb9d205f
Fix some labels to have a consistent capitalization

diff --git a/views/templates.py b/views/templates.py
--- a/views/templates.py
+++ b/views/templates.py
@@ -86,13 +86,13 @@ class SherpaMainTemplate(basetemplates.T
             'right_header_component': right_header_component,
             'left_boxes': left_boxes_html,
             'side_box': {
                 'goTo_links': [
                     {'url': url('SEDAArchiveUnit'),
-                     'label': u"Unités d'archive"},
+                     'label': u"unités d'archive"},
                     {'url': url('SEDAArchiveTransfer'),
-                     'label': 'Profils SEDA'}
+                     'label': 'profils SEDA'}
                 ],
             },
             'footer': {
                 'resources': [
                     {'url': url('shema_seda'),
@@ -104,11 +104,11 @@ class SherpaMainTemplate(basetemplates.T
                     {'url': url('documentation_technique'),
                      'label': 'Documentation technique'},
                 ],
                 'navigation_Link': [
                     {'url': url('project'),
-                     'label': u'Sherpa, un générateur de profils'},
+                     'label': u'SHERPA, un générateur de profils'},
                     {'url': url('utilisation'),
                      'label': "Pour commencer"},
                     {'url': url('seda'),
                      'label': "Le SEDA"},
                 ]
diff --git a/views/templates/index.jinja2 b/views/templates/index.jinja2
--- a/views/templates/index.jinja2
+++ b/views/templates/index.jinja2
@@ -30,11 +30,11 @@ SHERPA est un outil qui permet de créer
     </div>
 
     <div id="buttons-wrapper">
       <a href="/project" class="btn btn-default">SHERPA un générateur de profils</a>
       <a href="/utilisation" class="btn btn-default">Comment utiliser SHERPA ?</a>
-      <a href="/seda" class="btn btn-default">le SEDA</a>
+      <a href="/seda" class="btn btn-default">Le SEDA</a>
     </div>
 
     <div class="col-md-12">
       <p>
       Le projet <span class="emphasis">SHERPA</span> a été conduit par le Service interministériel des Archives de France en 2016 afin de doter le <span class="emphasis">réseau des services publics d’archives</span> d’un outil disponible en ligne et permettant de <span class="emphasis">rédiger des profils d’archivage</span> conformes au <span class="emphasis">Standard</span> d’échange des données pour l’archivage, version 2.0.
diff --git a/views/templates/maintemplate.jinja2 b/views/templates/maintemplate.jinja2
--- a/views/templates/maintemplate.jinja2
+++ b/views/templates/maintemplate.jinja2
@@ -28,11 +28,11 @@
   {% endif %}
   <div id="{{page_id}}" class="container-fluid" role="main">
     <aside id="aside-main-left" class="col-md-2 cwjs-aside">
       <div class="panel panel-default contextFreeBox facet_filterbox" id="facet_filterbox">
         <div class="panel-heading">
-          <div class="panel-title">Navigation</div>
+          <div class="panel-title">navigation</div>
         </div>
         <div class="panel-body">
           <ul class="list-unstyled">
             {% for page in side_box.goTo_links %}
             <li class="facetvalue"><a href='{{ page.url }}'> {{ page.label }}</a></li>


More information about the saem-devel mailing list