[static] Add pdf describing seda 2 tags
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 18 Apr 2017 12:00:58 +0200
changeset 283 d359ca9b69b3
parent 279 9a9fd52ed6a1
child 284 5af8e5cfbf44
[static] Add pdf describing seda 2 tags as provided by the SIAF.
MANIFEST.in
cubicweb_sherpa/data/dictionnaire_SEDA2_final.pdf
cubicweb_sherpa/views/templates.py
--- a/MANIFEST.in	Tue Apr 18 11:56:29 2017 +0200
+++ b/MANIFEST.in	Tue Apr 18 12:00:58 2017 +0200
@@ -1,5 +1,5 @@
 recursive-include cubicweb_sherpa *.py
-recursive-include cubicweb_sherpa/data *.gif *.png *.ico *.css *.js *.otf *.ttf *.txt
+recursive-include cubicweb_sherpa/data *.gif *.png *.ico *.css *.js *.otf *.ttf *.txt *.pdf
 recursive-include cubicweb_sherpa/i18n *.po *.pot
 include cubicweb_sherpa/views/templates/*.html
 include tox.ini
Binary file cubicweb_sherpa/data/dictionnaire_SEDA2_final.pdf has changed
--- a/cubicweb_sherpa/views/templates.py	Tue Apr 18 11:56:29 2017 +0200
+++ b/cubicweb_sherpa/views/templates.py	Tue Apr 18 12:00:58 2017 +0200
@@ -120,11 +120,11 @@
                 'resources': [
                     {'url': url('schema_seda'),
                      'label': u'Schéma du SEDA 2.0'},
-                    {'url': url('dictionnaire'),
+                    {'url': self._cw.data_url('dictionnaire_SEDA2_final.pdf'),
                      'label': 'Dictionnaire des balises'},
                     {'url': url('documentation_fonctionnelle'),
                      'label': 'Documentation fonctionnelle'},
-                    {'url': url('documentation_technique'),
+                    {'url': 'https://www.cubicweb.org/project/cubicweb-sherpa',
                      'label': 'Documentation technique'},
                 ],
             },