Changeset 560:04c330b92cab in documentViewer


Ignore:
Timestamp:
Oct 1, 2012, 1:33:22 PM (12 years ago)
Author:
casties
Branch:
default
Message:

uses escidoc-dri (instead of -test). updated default license display for access!=free.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r559 r560  
    611611
    612612            # DRI (permanent ID)
    613             dri = self.metadataService.getDRI(dom=metaDom, type='escidoc-test')
     613            dri = self.metadataService.getDRI(dom=metaDom, type='escidoc')
    614614            if dri:
    615615                logging.debug("getDRI: dri=%s"%repr(dri))
  • zpt/viewer_index.zpt

    r559 r560  
    117117              <td class="type">Copyright:</td>
    118118              <td class="content"><a target="_blank" href="http://www.mpiwg-berlin.mpg.de">Max Planck Institute for the
    119                   History of Science</a> (unless otherwise stated)</td>
     119                  History of Science</a> (unless stated otherwise)</td>
    120120            </tr>
    121121            <tr>
    122122              <td class="type">License:</td>
    123               <td class="content"><a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/">CC-BY-SA</a>
    124                 (unless otherwise stated)</td>
     123              <td tal:condition="python:docinfo.get('accessType', None) == 'free'" class="content"><a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/">CC-BY-SA</a>
     124                (unless stated otherwise)</td>
     125              <td tal:condition="python:docinfo.get('accessType', None) != 'free'" class="content">Internal use only, please contact <a href="mailto:library@mpiwg-berlin.mpg.de">library@mpiwg-berlin.mpg.de</a>
     126                (unless stated otherwise)</td>
    125127            </tr>
    126128          </table>
Note: See TracChangeset for help on using the changeset viewer.