Changeset 538:dbf25bd05fc6 in documentViewer for documentViewer.py


Ignore:
Timestamp:
Jul 30, 2012, 5:41:48 PM (12 years ago)
Author:
casties
Branch:
default
Message:

digilib buttons get icons. pid on index page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r536 r538  
    569569                logging.debug("getDocinfo: attribution=%s"%repr(attribution))
    570570                docinfo['attribution'] = attribution
    571                 #docinfo = self.getDocinfoFromAccess(docinfo, access)
    572571
    573572            # copyright info
     
    576575                logging.debug("getDocinfo: copyright=%s"%repr(copyright))
    577576                docinfo['copyright'] = copyright
    578                 #docinfo = self.getDocinfoFromAccess(docinfo, access)
     577
     578            # DRI (permanent ID)
     579            dri = self.metadataService.getDRI(dom=metaDom, type='escidoc-test')
     580            if dri:
     581                logging.debug("getDRI: dri=%s"%repr(dri))
     582                docinfo['DRI'] = dri
    579583
    580584        # image path
Note: See TracChangeset for help on using the changeset viewer.