Mercurial > hg > MPIWGWeb
annotate zpt/project/edit_template.zpt @ 81:975a8d88e315
new editable info blocks for projects.
removed RelatedDigitalSources. updateAllProjects converts to info block.
author | casties |
---|---|
date | Fri, 10 May 2013 17:32:53 +0200 |
parents | fd6931bd49c8 |
children | 2dd8e3be4a8e |
rev | line source |
---|---|
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
50 | 3 <html xmlns="http://www.w3.org/1999/xhtml" |
4 metal:define-macro="page"> | |
61 | 5 <head tal:define="global root here/getMPIWGProjectUrl; global onload nothing;"> |
22 | 6 <metal:block metal:define-slot="html_head"/> |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
22 | 8 <link rel="stylesheet" href="edit_css" type="text/css"/> |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
9 </head> |
22 | 10 <body tal:attributes="onload onload"> |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
11 <h3 tal:condition="not:here/isActiveProject">(!!Project is not visible!!)</h3> |
60 | 12 <h2 class="title">Edit project <i tal:content="here/getProjectTitle"/></h2> |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
13 <metal:block metal:define-slot="navsel"/> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
14 <div class="mainnav"> |
81 | 15 <span tal:attributes="class python:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a |
16 tal:attributes="href string:$root/editBasic">Basic information</a></span> | |
17 <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a | |
18 tal:attributes="href string:$root/editDescription">Project description</a></span> | |
19 <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a | |
20 tal:attributes="href string:$root/manageImages">Images</a></span> | |
21 <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a | |
22 tal:attributes="href string:$root/managePublications">Publications</a></span> | |
23 <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a | |
24 tal:attributes="href string:$root/manageRelatedProjects">Related projects</a></span> | |
25 <span tal:attributes="class python:test('infoblocks'==menusel, 'mainmenusel', 'mainmenu')"><a | |
26 tal:attributes="href string:$root/manageInfoBlocks">Info blocks</a></span> | |
27 <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a | |
28 tal:attributes="href string:$root/tagTheProject">Tags</a></span> | |
29 <span class="mainmenu"><a target="_blank" | |
30 tal:attributes="href python:here.getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">View</a></span> | |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
31 </div> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
32 <div class="content"> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
33 <tal:block metal:define-slot="body"/> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
34 </div> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
35 </body> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
36 </html> |