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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
e30a4bd074db more cleaning up projects.
casties
parents: 22
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml"
e30a4bd074db more cleaning up projects.
casties
parents: 22
diff changeset
4 metal:define-macro="page">
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
5 <head tal:define="global root here/getMPIWGProjectUrl; global onload nothing;">
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
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
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
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
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
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
dc41deabc8f8 more work on projects. more cleanup.
casties
parents: 50
diff changeset
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
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
15 <span tal:attributes="class python:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
16 tal:attributes="href string:$root/editBasic">Basic information</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
17 <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
18 tal:attributes="href string:$root/editDescription">Project description</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
19 <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
20 tal:attributes="href string:$root/manageImages">Images</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
21 <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
22 tal:attributes="href string:$root/managePublications">Publications</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
23 <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
24 tal:attributes="href string:$root/manageRelatedProjects">Related projects</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
25 <span tal:attributes="class python:test('infoblocks'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
26 tal:attributes="href string:$root/manageInfoBlocks">Info blocks</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
27 <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
28 tal:attributes="href string:$root/tagTheProject">Tags</a></span>
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
29 <span class="mainmenu"><a target="_blank"
975a8d88e315 new editable info blocks for projects.
casties
parents: 63
diff changeset
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>