view zpt/project/extendedBibliography_template.zpt @ 61:04fb655633ef

more cleaning up projects.
author casties
date Thu, 02 May 2013 18:32:01 +0200
parents bbad6a092861
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:define-macro="page">
<metal:x metal:use-macro="here/main_template/macros/page">
  <head>
<tal:block metal:fill-slot="title">
  <title tal:content="string:${here/getNumber} ${here/getProjectTitle}-Bibliography" />
</tal:block>
<tal:block metal:fill-slot="head"
  tal:define="global proBaseUrl string:$root/${secmap/research}/projects;
              global dept here/getDepartmentId;" />
  </head>
  <body>

    <!-- middle column -->
    <div class="center" metal:fill-slot="center">
      <tal:block tal:replace="structure here/versionHeader" />
      <tal:x tal:define="started here/getStartedAt" tal:condition="here/isArchivedProject">
        <p>
          (<span tal:condition="started" tal:content="string:$started-" /><span tal:condition="not:started">Completed:</span> <span
            tal:content="here/getCompletedAt" />)
        </p>
      </tal:x>

      <h1 tal:content="here/getProjectTitle">History of Scientific Objectivity, 18th-19th Cs</h1>
      <p class="maintext_authors">
        <tal:block tal:repeat="person here/getResponsibleScientistsList">
          <a tal:omit-tag="python:not (person['username'] and here.isActiveMember(person['key']))"
            tal:attributes="href string:$root/${secmap/staff}/members/${person/username}" tal:content="person/name"> Name of
            responsible person</a>
          <tal:block tal:condition="not:repeat/person/end">, </tal:block>
        </tal:block>
      </p>

      <p class="maintext_more" tal:define="others here/getInvolvedScholars" tal:condition="others">
        Other involved scholars: <span tal:content="structure others">Scholars </span>
      </p>
      <p class="maintext_more" tal:define="partners here/getCooperationPartners" tal:condition="partners">
        Cooperation Partners: <span tal:content="structure partners">Partners</span>
      </p>

      <h2>Extended Bibliography</h2>

      <tal:block
        tal:define="
             wgb python:here.getPublicationsOfTypes('workingGroupBook');
             books python:here.getPublicationsOfTypes('book');
             edited_books python:here.getPublicationsOfTypes('edited book');
             articles python:here.getPublicationsOfTypes(['book','edited book'],neg=True);">

        <tal:block tal:condition="wgb">
          <h3>Working Group Books</h3>
          <ul class="publicationlist">
            <li tal:repeat="found3 wgb"><span tal:replace="structure python:here.decode(here.formatBibliography(found3))" /></li>
          </ul>
        </tal:block>
        <tal:block tal:condition="books">
          <h3>Books</h3>
          <ul class="publicationlist">
            <li tal:repeat="found3 books"><span tal:replace="structure python:here.decode(here.formatBibliography(found3))" />
            </li>
          </ul>
        </tal:block>

        <tal:block tal:condition="edited_books">
          <h3>Edited Books</h3>
          <ul class="publicationlist">
            <li tal:repeat="found3 edited_books"><span
              tal:replace="structure python:here.decode(here.formatBibliography(found3))" /></li>
          </ul>
        </tal:block>

        <tal:block tal:condition="articles">
          <h3>Articles and Chapters</h3>
          <ul class="publicationlist">
            <li tal:repeat="found3 articles"><span tal:replace="structure python:here.decode(here.formatBibliography(found3))" />
            </li>
          </ul>
        </tal:block>
      </tal:block>

    </div>

  </body>
</metal:x>
</html>