src/pyams_content/shared/imagemap/zmi/templates/summary.pt
changeset 69 8c5bbc396670
child 70 ba26f4023bc2
equal deleted inserted replaced
68:cf21b8cd6e74 69:8c5bbc396670
       
     1 <div class="padding-y-10">
       
     2 	<img usemap="#imagemap_preview"
       
     3 		 tal:define="image i18n:context.image"
       
     4 		 tal:attributes="src extension:absolute_url(image);" />
       
     5 	<map name="imagemap_preview">
       
     6 		<area tal:repeat="area context.areas.values()"
       
     7 			  shape="poly"
       
     8 			  tal:attributes="coords area.area;
       
     9 					 		  href view.get_url(area.link);
       
    10 							  title i18n:area.title;" />
       
    11 	</map>
       
    12 </div>