annotate zpt/feature/feature_template.zpt @ 271:690d5dea34bd

Merge with d672a6f6c9029a93614d45aa5c0f5e4b977f7a87
author casties
date Tue, 30 Sep 2014 13:59:13 +0200
parents dd667083a56d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
3 <metal:block metal:define-macro="page">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
5 <head>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
136
63e1c1c06fb3 title tag added in feature
dwinter
parents: 90
diff changeset
7 <meta:block metal:fill-slot="title">
63e1c1c06fb3 title tag added in feature
dwinter
parents: 90
diff changeset
8 <title tal:content="here/getFullTitle"></title>
63e1c1c06fb3 title tag added in feature
dwinter
parents: 90
diff changeset
9 </meta:block>
90
c940af028112 add styles and meta-tags for search.
casties
parents: 84
diff changeset
10 <metal:block metal:fill-slot="head">
244
dd667083a56d added define-slot="head" to feature template.
casties
parents: 204
diff changeset
11 <meta name="description" content="feature"/>
dd667083a56d added define-slot="head" to feature template.
casties
parents: 204
diff changeset
12 <metal:block metal:define-slot="head"/>
90
c940af028112 add styles and meta-tags for search.
casties
parents: 84
diff changeset
13 </metal:block>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
14 </head>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
15 <body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
16 <div class="center" metal:fill-slot="center">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
17 <metal:block metal:define-slot="feature">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
18 (the latest feature should be here)
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
19 </metal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
20 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
21 <!-- center -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
22
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
23 <div class="sidebar" metal:fill-slot="sidebar">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
24
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
25 <tal:block metal:define-slot="sideblock" />
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
26
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
27 <div class="sideblock">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
28 <h2 tal:condition="python:lang!='de'">Research Topics Archive</h2>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
29 <h2 tal:condition="python:lang=='de'">Archiv der Forschungsthemen</h2>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
30
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
31 <div class="item noline" tal:condition="python:lang!='de'">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
32 <a class="internal" tal:attributes="href string:$root/${secmap/news}/featurearchive.html">In the archive</a>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
33 you can find present and past research topics.
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
34 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
35 <div class="item noline" tal:condition="python:lang=='de'">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
36 <a class="internal" tal:attributes="href string:$root/${secmap/news}/featurearchive.html">Im Archiv</a>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
37 finden Sie aktuelle und fr&uuml;here Forschungsthemen.
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
38 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
39
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
40 <tal:block define="features python:here.getFeatures(reverse=True)">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
41 <div class="item thumb" tal:repeat="feature python:features">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
42 <div class="row" tal:define="url python:feature.getUrl(baseUrl='%s/%s/features'%(root,secmap['news']))">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
43 <div class="col thumb">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
44 <a tal:attributes="href url"> <img tal:attributes="src feature/getThumbUrl" />
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
45 </a>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
46 </div>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
47 <div class="col text">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
48 <a tal:attributes="href url"><b><span tal:replace="python:len(features)-features.index(feature)" />:</b></a>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
49 <span tal:content="feature/getFullTitle" />
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
50 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
51 </div>
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
52 </div>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
53 </tal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
54
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
55 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
56 <!-- /sideblock -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
57
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
58 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
59 <!-- sidebar -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
60 </body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
61 </html>
244
dd667083a56d added define-slot="head" to feature template.
casties
parents: 204
diff changeset
62 </metal:block>