src/pyams_skin/templates/widget-layout.pt
changeset 84 25cf058f7e1d
parent 83 e7386933c184
child 85 0dd5876f9d70
equal deleted inserted replaced
83:e7386933c184 84:25cf058f7e1d
     1 <tal:var content="structure provider:content_header" />
       
     2 <tal:var content="structure provider:content_help" />
       
     3 <div class="ams-widget" i18n:domain="onf_website"
       
     4 	 tal:attributes="data-ams-data extension:object_data(view)">
       
     5 	<header>
       
     6 		<span tal:condition="view.widget_icon_class | nothing"
       
     7 			  class="widget-icon"><i tal:attributes="class view.widget_icon_class"></i>
       
     8 		</span>
       
     9 		<h2 tal:content="view.title">Title</h2>
       
    10 		<tal:var content="structure provider:pyams.widget_title" />
       
    11 		<tal:var content="structure provider:pyams.toolbar" />
       
    12 	</header>
       
    13 	<div class="widget-body">
       
    14 		<tal:var content="structure provider:pagelet" />
       
    15 	</div>
       
    16 </div>