Removed video body attribute
authorThierry Florac <thierry.florac@onf.fr>
Mon, 11 Jun 2018 15:25:10 +0200
changeset 36 7b23c6794201
parent 35 04e1d062b5f4
child 37 b5a695494f88
Removed video body attribute
src/pyams_default_theme/component/paragraph/templates/video-default.pt
src/pyams_default_theme/component/paragraph/video.py
--- a/src/pyams_default_theme/component/paragraph/templates/video-default.pt	Mon Jun 11 15:24:41 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/video-default.pt	Mon Jun 11 15:25:10 2018 +0200
@@ -1,7 +1,5 @@
 <h3 tal:condition="view.title"
 	tal:content="view.title">title</h3>
-<div tal:condition="view.body"
-	 tal:content="structure view.body">body</div>
 <div tal:condition="view.description"
 	 tal:content="structure extension:html(view.description)">Description</div>
 <div class="flowplayer"
--- a/src/pyams_default_theme/component/paragraph/video.py	Mon Jun 11 15:24:41 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/video.py	Mon Jun 11 15:25:10 2018 +0200
@@ -40,4 +40,4 @@
     label = _("Default video renderer")
 
     context_attrs = ('author', 'data')
-    i18n_context_attrs = ('title', 'body', 'description')
+    i18n_context_attrs = ('title', 'description')