Mercurial > hg > MPIWGWeb
view zpt/feature/feature_template.zpt @ 248:a14e462fca1c
add license-page link to page footer.
author | casties |
---|---|
date | Tue, 18 Mar 2014 10:18:35 +0100 |
parents | dd667083a56d |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <metal:block metal:define-macro="page"> <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta:block metal:fill-slot="title"> <title tal:content="here/getFullTitle"></title> </meta:block> <metal:block metal:fill-slot="head"> <meta name="description" content="feature"/> <metal:block metal:define-slot="head"/> </metal:block> </head> <body> <div class="center" metal:fill-slot="center"> <metal:block metal:define-slot="feature"> (the latest feature should be here) </metal:block> </div> <!-- center --> <div class="sidebar" metal:fill-slot="sidebar"> <tal:block metal:define-slot="sideblock" /> <div class="sideblock"> <h2 tal:condition="python:lang!='de'">Research Topics Archive</h2> <h2 tal:condition="python:lang=='de'">Archiv der Forschungsthemen</h2> <div class="item noline" tal:condition="python:lang!='de'"> <a class="internal" tal:attributes="href string:$root/${secmap/news}/featurearchive.html">In the archive</a> you can find present and past research topics. </div> <div class="item noline" tal:condition="python:lang=='de'"> <a class="internal" tal:attributes="href string:$root/${secmap/news}/featurearchive.html">Im Archiv</a> finden Sie aktuelle und frühere Forschungsthemen. </div> <tal:block define="features python:here.getFeatures(reverse=True)"> <div class="item thumb" tal:repeat="feature python:features"> <div class="row" tal:define="url python:feature.getUrl(baseUrl='%s/%s/features'%(root,secmap['news']))"> <div class="col thumb"> <a tal:attributes="href url"> <img tal:attributes="src feature/getThumbUrl" /> </a> </div> <div class="col text"> <a tal:attributes="href url"><b><span tal:replace="python:len(features)-features.index(feature)" />:</b></a> <span tal:content="feature/getFullTitle" /> </div> </div> </div> </tal:block> </div> <!-- /sideblock --> </div> <!-- sidebar --> </body> </html> </metal:block>