Enable [if-index REF first]
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@333 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/V0_8
parent
1e082e2982
commit
45d1849883
|
@ -305,6 +305,8 @@ class Template:
|
|||
value = idx % 2 == 0
|
||||
elif value == 'odd':
|
||||
value = idx % 2 == 1
|
||||
elif value == 'first':
|
||||
value = idx == 0
|
||||
elif value == 'last':
|
||||
value = idx == len(list)-1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue