Changeset 3846
- Timestamp:
- Aug 28, 2012, 9:52:06 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/zpt/thumbListMD.zpt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/zpt/thumbListMD.zpt
r27 r3846 32 32 <div class="thumblist" tal:define="colRows python:here.getColTimesRow(showall=showall)"> 33 33 <div class="thumb" tal:repeat="th python:here.getThumbList(colRows,filename=filename,group=group)"> 34 <a tal: attributes="id python:th[0];34 <a tal:define="key python:th[0].split('.')[0]" tal:attributes="id python:th[0]; 35 35 href python:here.REQUEST['URL1']+here.generateParams({'filename':th[0],'showall':showall,'generic':generic,'group':group})" 36 36 target="_top"> 37 <div class="image" tal:content="structure python:th[1].thumbMD(metadataRecord=md.get(th[0].split('.')[0],None))">thumb</div> 37 <div class="image" tal:condition="python:key in md" tal:content="structure python:th[1].thumbMD(metadataRecord=md.get(th[0].split('.')[0],None))">thumb</div> 38 <div class="image" tal:condition="python:key not in md" tal:content="structure python:th[1].thumb()">thumb</div> 38 39 <span tal:replace="structure python:th[1].title"/> 39 40 </a>
Note: See TracChangeset
for help on using the changeset viewer.