Changeset 608:0c6056271654 in documentViewer for zpt


Ignore:
Timestamp:
Dec 18, 2012, 6:26:22 PM (11 years ago)
Author:
casties
Branch:
default
Message:

show is-part-of relation in header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer/common_template.zpt

    r607 r608  
    2525      </div>
    2626      <div class="title" tal:condition="formattedLabel" tal:content="structure formattedLabel" />
     27      <div class="title part-of" tal:condition="exists:docinfo/partOfPath">
     28        part of: <a tal:attributes="href docinfo/partOfUrl" target="_blank" tal:content="structure docinfo/partOfLabel"/>
     29      </div>
    2730      <ul class="view-switcher" metal:define-slot="view-switcher">
    2831        <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a
Note: See TracChangeset for help on using the changeset viewer.