From: gfawcett Date: Thu, 7 May 2009 00:27:55 +0000 (+0000) Subject: Added link from circ-needs page to title-details in catalogue. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ce868ade9a1f9f048b05189770f9ac4017c2add5;p=Syrup.git Added link from circ-needs page to title-details in catalogue. It's Evergreen-specific; that needs fixing. git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@461 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/conifer/TODO b/conifer/TODO index 5307c56..422b529 100644 --- a/conifer/TODO +++ b/conifer/TODO @@ -24,6 +24,7 @@ IMPORTANT: * manage z3950 targets? Search z3950 targets? +* title-details links in circ-needs, that needs to be made non EG specific. MAYBE: * Generating barcodes in emails, printable screens? (3 of 9 enough?) diff --git a/conifer/templates/phys/circlist_for_term.xhtml b/conifer/templates/phys/circlist_for_term.xhtml index 96ea362..a40caf0 100644 --- a/conifer/templates/phys/circlist_for_term.xhtml +++ b/conifer/templates/phys/circlist_for_term.xhtml @@ -2,6 +2,10 @@ title = _('Wanted items: %s') % term from conifer.libsystems.z3950.marcxml import marcxml_dictionary_to_dc as to_dublin dc_keys = ['dc:title', 'dc:creator', 'dc:publisher', 'dc:date'] +from django.conf import settings +lang = settings.LANGUAGE_CODE.replace('_','-') +catalogue_pattern = 'http://%s/opac/%s/skin/default/xml/rdetail.xml?r=%%s' +catalogue_pattern = catalogue_pattern % (settings.EVERGREEN_GATEWAY_SERVER, lang) ?> #TitleAuthorPublisherPubDate - ${resultnum+1}. ${dc.get('dc:title', '???')} - details + MARC

Electronic resource. view

+
+ Title details in catalogue +
${dc.get(k) or '—'}