src/pyams_skin/templates/widget-layout.pt
changeset 69 a361355b55c7
parent 0 bb4aabe07487
equal deleted inserted replaced
68:fd8fb93e1b6a 69:a361355b55c7
       
     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>