Mercurial > hg > MPIWGWeb
comparison zpt/project/edit_template.zpt @ 61:04fb655633ef
more cleaning up projects.
author | casties |
---|---|
date | Thu, 02 May 2013 18:32:01 +0200 |
parents | dc41deabc8f8 |
children | fd6931bd49c8 |
comparison
equal
deleted
inserted
replaced
60:dc41deabc8f8 | 61:04fb655633ef |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
3 <html xmlns="http://www.w3.org/1999/xhtml" | 3 <html xmlns="http://www.w3.org/1999/xhtml" |
4 metal:define-macro="page"> | 4 metal:define-macro="page"> |
5 <head tal:define="global onload nothing;"> | 5 <head tal:define="global root here/getMPIWGProjectUrl; global onload nothing;"> |
6 <metal:block metal:define-slot="html_head"/> | 6 <metal:block metal:define-slot="html_head"/> |
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="here/getProjectTitle"/></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:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a href="editBasic">Basic information</a></span> | 15 <span tal:attributes="class python:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/editBasic">Basic information</a></span> |
16 <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a href="edit">Project description</a></span> | 16 <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/edit">Project description</a></span> |
17 <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a href="manageImages">Images</a></span> | 17 <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/manageImages">Images</a></span> |
18 <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a href="managePublications">Publications</a></span> | 18 <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/managePublications">Publications</a></span> |
19 <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a href="manageRelatedProjects">Related Projects</a></span> | 19 <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/manageRelatedProjects">Related Projects</a></span> |
20 <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a href="tagTheProject">Tags</a></span> | 20 <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a tal:attributes="href string:$root/tagTheProject">Tags</a></span> |
21 <span class="mainmenu"><a target="_blank" tal:attributes="href python:here.getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">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> |