</th> </tr> <tr> <tal:block tal:repeat="g games"> <td tal:condition="not:g" align="center"> <h3 tal:content="string:${repeat/g/number}." /> <a href="" tal:attributes="href string:?pid=MyFolder&gamesheet=${rid}&gameslot=${repeat/g/number}" > <span i18n:translate="" tal:omit-tag="">Select Game</span> </a> </td> <td tal:condition="g" align="center"> <tal:block tal:define=" grid g/resourceID; url string:?rid=${grid}&mode=view; title g/title; title php:strlen(title)>28 ? substr_replace(title, '...', 25) : title; desc g/description; icon php:getTypeIcon(g['type'], grid); "> <h3 tal:content="string:${repeat/g/number}." /> <div style="margin-top:0px;"> <img src="" tal:attributes="src icon" /> </div> <div tal:content="title" /> <a href="" tal:attributes="href string:?rid=${rid}&mode=compile&removeslot=${repeat/g/number}" > <span i18n:translate="" tal:omit-tag="">Remove Selection</span> </a><br /> <a href="" tal:attributes="href string:?pid=MyFolder&gamesheet=${rid}&gameslot=${repeat/g/number}" > <span i18n:translate="" tal:omit-tag="">Select New</span> </a> </tal:block> </td> <tal:block tal:replace="structure string:</tr><tr>" tal:condition="repeat/g/odd" /> </tal:block> </tr> </table> </span> <span metal:fill-slot="resource_content_footer"> </span> </span>