Mercurial > hg > MPIWGWeb
comparison zpt/project/edit_template.zpt @ 60:dc41deabc8f8
more work on projects. more cleanup.
author | casties |
---|---|
date | Thu, 02 May 2013 11:26:57 +0200 |
parents | e30a4bd074db |
children | 04fb655633ef |
comparison
equal
deleted
inserted
replaced
59:d452fff7c52e | 60:dc41deabc8f8 |
---|---|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
8 <link rel="stylesheet" href="edit_css" type="text/css"/> | 8 <link rel="stylesheet" href="edit_css" type="text/css"/> |
9 </head> | 9 </head> |
10 <body tal:attributes="onload onload"> | 10 <body tal:attributes="onload onload"> |
11 <h3 tal:condition="not:here/isActiveProject">(!!Project is not visible!!)</h3> | 11 <h3 tal:condition="not:here/isActiveProject">(!!Project is not visible!!)</h3> |
12 <h2 class="title">Edit project <i tal:content="python:here.getContent('WEB_title')"/></h2> | 12 <h2 class="title">Edit project <i tal:content="here/getProjectTitle"/></h2> |
13 <metal:block metal:define-slot="navsel"/> | 13 <metal:block metal:define-slot="navsel"/> |
14 <div class="mainnav"> | 14 <div class="mainnav"> |
15 <span tal:attributes="class python:here.getPathStyle('basic', menusel, 'mainmenu')"><a href="editBasic">Basic information</a></span> | 15 <span tal:attributes="class python:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a href="editBasic">Basic information</a></span> |
16 <span tal:attributes="class python:here.getPathStyle('description', menusel, 'mainmenu')"><a href="edit">Project description</a></span> | 16 <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a href="edit">Project description</a></span> |
17 <span tal:attributes="class python:here.getPathStyle('images', menusel, 'mainmenu')"><a href="manageImages">Images</a></span> | 17 <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a href="manageImages">Images</a></span> |
18 <span tal:attributes="class python:here.getPathStyle('publications', menusel, 'mainmenu')"><a href="managePublications">Publications</a></span> | 18 <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a href="managePublications">Publications</a></span> |
19 <span tal:attributes="class python:here.getPathStyle('relatedProjects', menusel, 'mainmenu')"><a href="manageRelatedProjects">Related Projects</a></span> | 19 <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a href="manageRelatedProjects">Related Projects</a></span> |
20 <span tal:attributes="class python:here.getPathStyle('themes', menusel, 'mainmenu')"><a href="tagTheProject">Tags</a></span> | 20 <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a href="tagTheProject">Tags</a></span> |
21 <span class="mainmenu"><a target="_blank" href="index_html">View</a></span> | 21 <span class="mainmenu"><a target="_blank" tal:attributes="href python:here.getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">View</a></span> |
22 </div> | 22 </div> |
23 <div class="content"> | 23 <div class="content"> |
24 <tal:block metal:define-slot="body"/> | 24 <tal:block metal:define-slot="body"/> |
25 </div> | 25 </div> |
26 </body> | 26 </body> |