--- a/src/pyams_content/shared/imagemap/zmi/templates/paragraph-render.pt Wed Jun 13 16:17:57 2018 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<h3 tal:content="view.title">title</h3>
-<div class="no-padding" i18n:domain="pyams_content"
- data-ams-plugins="pyams_content"
- tal:define="imagemap context.get_target()"
- tal:attributes="data-ams-plugin-pyams_content-src extension:resource_path('pyams_content.skin:pyams_content')">
- <img usemap="#imagemap_preview"
- tal:define="image i18n:imagemap.image"
- tal:attributes="src extension:absolute_url(image);
- usemap string:#imagemap_preview_${context.__name__}"
- data-ams-callback="PyAMS_content.imgmap.initPreview" />
- <map name="imagemap_preview"
- tal:attributes="name string:imagemap_preview_${context.__name__}">
- <tal:loop repeat="area imagemap.areas.values()">
- <tal:var define="item imagemap.get_association(area)"
- condition="item and item.visible">
- <area shape="poly"
- tal:define="info view.get_item_info(item);
- area_title i18n:area.title;
- item_title i18n:info.user_title;
- title area_title or item_title;"
- tal:attributes="coords area.area;
- href item.get_url(request);
- title title;" />
- </tal:var>
- </tal:loop>
- </map>
-</div>
--- a/src/pyams_content/shared/imagemap/zmi/templates/render.pt Wed Jun 13 16:17:57 2018 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<div class="padding-y-5" i18n:domain="pyams_content"
- data-ams-plugins="pyams_content"
- tal:attributes="data-ams-plugin-pyams_content-src extension:resource_path('pyams_content.skin:pyams_content')">
- <img usemap="#imagemap_preview"
- tal:define="image i18n:context.image"
- tal:attributes="src extension:absolute_url(image);"
- data-ams-callback="PyAMS_content.imgmap.initSummary" />
- <map name="imagemap_preview">
- <tal:loop repeat="area context.areas.values()">
- <tal:var define="item context.get_association(area)"
- condition="item and item.visible">
- <area shape="poly"
- tal:define="info view.get_item_info(item);
- area_title i18n:area.title;
- item_title i18n:info.user_title;
- title area_title or item_title;"
- tal:attributes="coords area.area;
- href item.get_url(request);
- title title;" />
- </tal:var>
- </tal:loop>
- </map>
-</div>
--- a/src/pyams_content/shared/view/portlet/templates/view-items-list.pt Wed Jun 13 16:17:57 2018 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<div tal:repeat="item view.settings.get_items(context)">
- <tal:var content="i18n:item.title" />
-</div>