Changeset 505:29f2172db368 in documentViewer for zpt


Ignore:
Timestamp:
Feb 17, 2012, 9:46:03 AM (12 years ago)
Author:
casties
Branch:
elementtree
Message:

title also for non-bib-tag.

Location:
zpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zpt/common_template.zpt

    r502 r505  
    1313               bib docinfo/bib | nothing; bibType docinfo/bibType | nothing;
    1414               formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);">
    15     <div tal:condition="not:formattedLabel"
     15    <div tal:condition="not:formattedLabel">
     16      <tal:block tal:condition="python:docinfo['creator'] or docinfo['title']"><i tal:content="docinfo/creator"/>,
     17        <span tal:content="docinfo/title"/>, <span tal:content="docinfo/date"/>
     18      </tal:block>
     19      <span tal:condition="not:python:docinfo['creator'] or docinfo['title']"
    1620      tal:content="string:[no bibliographical information for this document (type ${bibType})]" />
     21    </div>
    1722    <div tal:condition="formattedLabel" tal:content="structure formattedLabel" />
    1823    <div class="doclinks">
  • zpt/viewer_index.zpt

    r502 r505  
    33<html xmlns="http://www.w3.org/1999/xhtml"
    44  tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode pageinfo/viewMode;
    5                   tocMode pageinfo/tocMode; viewType pageinfo/viewType; viewerUrl docinfo/viewerUrl;
     5                  tocMode pageinfo/tocMode; viewerUrl docinfo/viewerUrl;
    66                  docpath docinfo/textURLPath | nothing;
    77                  query nothing;
Note: See TracChangeset for help on using the changeset viewer.