annotate zpt/feature/feature_template.zpt @ 204:670b3507509d

fix breadcrumbs for features.
author casties
date Thu, 27 Jun 2013 15:39:44 +0200
parents 63e1c1c06fb3
children dd667083a56d
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">
c940af028112 add styles and meta-tags for search.
casties
parents: 84
diff changeset
11 <meta name="description" content="feature"/>
c940af028112 add styles and meta-tags for search.
casties
parents: 84
diff changeset
12 </metal:block>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
13 </head>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
14 <body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
15 <div class="center" metal:fill-slot="center">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
16 <metal:block metal:define-slot="feature">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
17 (the latest feature should be here)
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
18 </metal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
19 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
20 <!-- center -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
21
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
22 <div class="sidebar" metal:fill-slot="sidebar">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
23
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
24 <tal:block metal:define-slot="sideblock" />
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
25
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
26 <div class="sideblock">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
27 <h2 tal:condition="python:lang!='de'">Research Topics Archive</h2>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
28 <h2 tal:condition="python:lang=='de'">Archiv der Forschungsthemen</h2>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
29
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
30 <div class="item noline" tal:condition="python:lang!='de'">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
31 <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
32 you can find present and past research topics.
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
33 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
34 <div class="item noline" tal:condition="python:lang=='de'">
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
35 <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
36 finden Sie aktuelle und fr&uuml;here Forschungsthemen.
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
37 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
38
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
39 <tal:block define="features python:here.getFeatures(reverse=True)">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
40 <div class="item thumb" tal:repeat="feature python:features">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
41 <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
42 <div class="col thumb">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
43 <a tal:attributes="href url"> <img tal:attributes="src feature/getThumbUrl" />
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
44 </a>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
45 </div>
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
46 <div class="col text">
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
47 <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
48 <span tal:content="feature/getFullTitle" />
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
49 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
50 </div>
204
670b3507509d fix breadcrumbs for features.
casties
parents: 136
diff changeset
51 </div>
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
52 </tal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
53
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
54 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
55 <!-- /sideblock -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
56
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
57 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
58 <!-- sidebar -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
59 </body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
60 </html>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
61 </metal:block>