appy.gen: added the possibility to freeze, within Pod fields, documents that are normally generated with appy.pod.

This commit is contained in:
Gaetan Delannay 2011-02-16 13:43:58 +01:00
parent a18be357f5
commit fd896aebdc
4 changed files with 222 additions and 130 deletions

View file

@ -7,7 +7,7 @@
<label tal:attributes="for chekboxId" class="discreet"
tal:content="python: tool.translate(doLabel)"></label>
</tal:askAction>
<img tal:repeat="podFormat python: tool.getPodInfo(contextObj, name)['formats']"
<img tal:repeat="podFormat python: tool.getPodInfo(contextObj, name)[1]"
tal:attributes="src string: $portal_url/skyn/${podFormat}.png;
onClick python: 'generatePodDocument(\'%s\',\'%s\',\'%s\',\'%s\')' % (contextObj.UID(), name, podFormat, tool.getQueryInfo());
title podFormat/capitalize"