# HG changeset patch # User tflorac@dagon.home # Date 1546456789 -3600 # Node ID d4b7d40f484715b6f8625356693c47195ea22c9f # Parent 06a83f82c20437fdece588227aacd856253866ea Added illustration description diff -r 06a83f82c204 -r d4b7d40f4847 src/pyams_default_theme/component/gallery/templates/renderer-default.pt --- a/src/pyams_default_theme/component/gallery/templates/renderer-default.pt Wed Jan 02 20:18:43 2019 +0100 +++ b/src/pyams_default_theme/component/gallery/templates/renderer-default.pt Wed Jan 02 20:19:49 2019 +0100 @@ -17,6 +17,7 @@ data-type="image" data-gallery="gallery-${cache_key}" data-title="${i18n:image.title}" + data-description="${i18n:image.description}" data-footer="${i18n:image.author}" tal:define="image_data i18n:image.data; alt i18n:image.title;" diff -r 06a83f82c204 -r d4b7d40f4847 src/pyams_default_theme/component/illustration/templates/illustration-default.pt --- a/src/pyams_default_theme/component/illustration/templates/illustration-default.pt Wed Jan 02 20:18:43 2019 +0100 +++ b/src/pyams_default_theme/component/illustration/templates/illustration-default.pt Wed Jan 02 20:19:49 2019 +0100 @@ -8,4 +8,8 @@
${author}
+

+ ${structure:tales:html(view.description)} +

diff -r 06a83f82c204 -r d4b7d40f4847 src/pyams_default_theme/component/illustration/templates/illustration-left.pt --- a/src/pyams_default_theme/component/illustration/templates/illustration-left.pt Wed Jan 02 20:18:43 2019 +0100 +++ b/src/pyams_default_theme/component/illustration/templates/illustration-left.pt Wed Jan 02 20:19:49 2019 +0100 @@ -4,6 +4,7 @@
-
-

${view.title}

+
+

${title}

diff -r 06a83f82c204 -r d4b7d40f4847 src/pyams_default_theme/component/paragraph/templates/verbatim-left.pt --- a/src/pyams_default_theme/component/paragraph/templates/verbatim-left.pt Wed Jan 02 20:18:43 2019 +0100 +++ b/src/pyams_default_theme/component/paragraph/templates/verbatim-left.pt Wed Jan 02 20:19:49 2019 +0100 @@ -3,7 +3,7 @@ illustration tales:pyams_illustration(context); display_illustration view.can_display_illustration()" tal:attributes="class string:${default} col-md-${settings.relative_width}"> -

Title

+

${view.title}

-

Title

+

${view.title}