[pod] In an ods template, you can now define a variable 'columnsRepeated' that specifies, for every column of the table representing a spreadsheet, how much times it will be repeated bysubsequent 'for... cell' statements. For example, if you have a spreadsheet with 2 columns, and you will need to repeat the second one 100 times, define a statement 'do table with columnsRepeated=(1,100)'. If you don't do that, pod will be unable to guess what column must be repeated and how, will consider your table has having 2 columns and will produce a resulting table spreading the cells within a 2-columns wide table.

This commit is contained in:
Gaetan Delannay 2015-01-13 17:02:59 +01:00
parent 70906b0117
commit 1730ce3c19
18 changed files with 230 additions and 201 deletions

View file

@ -370,12 +370,12 @@ class Ref(Field):
<x if="singleObject" var2="tied=menu.objects[0]">
<a if="field.menuUrlMethod" class="dropdownMenu"
href=":field.getMenuUrl(zobj, tied)"
title=":tied.title">:field.pxMenu</a>
title=":tied.o.getShownValue('title')">:field.pxMenu</a>
<a if="not field.menuUrlMethod" class="dropdownMenu"
var2="linkInPopup=inPopup or (target.target != '_self')"
target=":target.target" onclick=":target.openPopup"
href=":tied.o.getUrl(nav='',inPopup=linkInPopup)"
title=":tied.title">:field.pxMenu</a>
title=":tied.o.getShownValue('title')">:field.pxMenu</a>
</x>
<x if="not singleObject">:field.pxMenu</x>