2010-08-05 11:23:17 -05:00
|
|
|
<tal:comment replace="nothing">View macro for a Pod.</tal:comment>
|
|
|
|
<metal:view define-macro="view">
|
|
|
|
<tal:askAction condition="widget/askAction"
|
|
|
|
define="doLabel python:'%s_askaction' % widget['labelId'];
|
2013-01-08 06:28:35 -06:00
|
|
|
chekboxId python: '%s_%s_cb' % (contextObj.UID(), name)">
|
2010-08-05 11:23:17 -05:00
|
|
|
<input type="checkbox" tal:attributes="name doLabel; id chekboxId"/>
|
|
|
|
<label tal:attributes="for chekboxId" class="discreet"
|
2012-06-03 11:34:56 -05:00
|
|
|
tal:content="python: _(doLabel)"></label>
|
2010-08-05 11:23:17 -05:00
|
|
|
</tal:askAction>
|
2011-02-16 06:43:58 -06:00
|
|
|
<img tal:repeat="podFormat python: tool.getPodInfo(contextObj, name)[1]"
|
2011-11-25 11:01:20 -06:00
|
|
|
tal:attributes="src string: $appUrl/ui/${podFormat}.png;
|
2011-01-28 07:36:30 -06:00
|
|
|
onClick python: 'generatePodDocument(\'%s\',\'%s\',\'%s\',\'%s\')' % (contextObj.UID(), name, podFormat, tool.getQueryInfo());
|
2010-08-05 11:23:17 -05:00
|
|
|
title podFormat/capitalize"
|
|
|
|
style="cursor:pointer"/>
|
|
|
|
</metal:view>
|
|
|
|
|
|
|
|
<tal:comment replace="nothing">Edit macro for a Pod.</tal:comment>
|
|
|
|
<metal:edit define-macro="edit"></metal:edit>
|
|
|
|
|
|
|
|
<tal:comment replace="nothing">Cell macro for a Pod.</tal:comment>
|
|
|
|
<metal:cell define-macro="cell">
|
2011-11-25 11:01:20 -06:00
|
|
|
<metal:call use-macro="app/ui/widgets/pod/macros/view"/>
|
2010-08-05 11:23:17 -05:00
|
|
|
</metal:cell>
|
|
|
|
|
|
|
|
<tal:comment replace="nothing">Search macro for a Pod.</tal:comment>
|
|
|
|
<metal:search define-macro="search"></metal:search>
|