view zpt/project/edit_template.zpt @ 249:f07dc0d2c60c

add project calendar (ticket #137).
author casties
date Wed, 23 Apr 2014 16:53:10 +0200
parents 37c2c29ab7ed
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  metal:define-macro="page">
<head tal:define="global root here/getMPIWGProjectUrl; global onload nothing;">
<metal:block metal:define-slot="html_head"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="edit_css" type="text/css"/>  
</head>
<body tal:attributes="onload onload">
  <h3 tal:condition="not:here/isActiveProject">(!!Project is not visible!!)</h3>
  <h2 class="title">Edit project <i><tal:block metal:define-slot="project_title" tal:content="here/getProjectTitle"/></i></h2>
  <metal:block metal:define-slot="navsel"/>
  <div class="mainnav">
    <span tal:attributes="class python:test('basic'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/editBasic">Basic information</a></span>
    <span tal:attributes="class python:test('description'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/editDescription">Project description</a></span>
    <span tal:attributes="class python:test('images'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/manageImages">Images</a></span>
    <span tal:attributes="class python:test('publications'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/managePublications">Publications</a></span>
    <span tal:attributes="class python:test('relatedProjects'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/manageRelatedProjects">Related projects</a></span>
    <span tal:attributes="class python:test('infoblocks'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/manageInfoBlocks">Info blocks</a></span>
    <span tal:attributes="class python:test('calendar'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/editCalendarForm">Calendar</a></span>
    <span tal:attributes="class python:test('themes'==menusel, 'mainmenusel', 'mainmenu')"><a 
      tal:attributes="href string:$root/tagTheProject">Tags</a></span>
    <span class="mainmenu"><a target="_blank" 
      tal:attributes="href python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">View</a></span>
    <span tal:attributes="class python:test('help'==menusel, 'mainmenusel', 'mainmenu')"><a target="_blank" 
      href="http://intranet.mpiwg-berlin.mpg.de/lib/exe/fetch.php?media=support:personal_homepage_short_manual.pdf">Help</a></span>
  </div>
  <div class="content">
  <tal:block metal:define-slot="body"/>
  </div>
</body>
</html>