Browse Source

Items from Bug 2167 ("URL handling in staff client inconsistent"): Removing display of URL from moredetail.pl. URLs are now displayed on detail.pl just as they are in the OPAC. Also removing display of biblio-level call number. Item level call number is displayed already.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Owen Leonard 16 years ago
committed by Joshua Ferraro
parent
commit
3cb28152bb
  1. 2
      catalogue/detail.pl
  2. 13
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl

2
catalogue/detail.pl

@ -63,6 +63,7 @@ my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
my $marcseriesarray = GetMarcSeries($record,$marcflavour);
my $marcurlsarray = GetMarcUrls ($record,$marcflavour);
my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 'subtitle', $record, '');
# Get Branches, Itemtypes and Locations
@ -160,6 +161,7 @@ $template->param( norequests => $norequests );
MARCSUBJCTS => $marcsubjctsarray,
MARCAUTHORS => $marcauthorsarray,
MARCSERIES => $marcseriesarray,
MARCURLS => $marcurlsarray,
subtitle => $subtitle,
);

13
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl

@ -83,6 +83,18 @@ function verify_images() {
<!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
</li>
<!-- TMPL_IF name="MARCURLS" --><li>
<strong>Online Resources:</strong>
<ul> <!-- TMPL_LOOP name="MARCURLS" -->
<li><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
<br /><!-- /TMPL_IF -->
<!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
<a href="<!-- TMPL_VAR NAME="MARCURL" -->" title="<!-- TMPL_VAR NAME="MARCURL" -->"><!-- TMPL_VAR NAME="linktext" --></a>
<!-- TMPL_IF NAME="notes" --><ul><!-- TMPL_LOOP NAME="notes" --><li><!-- TMPL_VAR NAME="note" --></li><!-- /TMPL_LOOP --></ul><!-- /TMPL_IF --></li>
<!-- /TMPL_LOOP --></ul>
</li>
<!-- /TMPL_IF -->
</ul>
</div>
@ -130,7 +142,6 @@ function verify_images() {
<!-- /TMPL_IF -->
</ul>
</div>
</div>
<div id="bibliodetails" class="toptabs">

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl

@ -25,10 +25,8 @@
<!-- TMPL_UNLESS NAME="item-level_itypes" -->
<li><span class="label">Item type:</span> <!-- TMPL_VAR NAME="itemtypename" -->&nbsp;</li>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="url" --><li><span class="label">URL:</span> <a href="<!-- TMPL_VAR NAME="url" -->"><!-- TMPL_VAR NAME="url" --></a></li><!-- /TMPL_IF -->
<!-- deprecated? <li><span class="label">Loan length:</span> <!-- TMPL_VAR NAME="loanlength" -->&nbsp;</li> -->
<li><span class="label">Rental charge:</span>$<!-- TMPL_VAR NAME="rentalcharge" -->&nbsp;</li>
<li><span class="label">Classification:</span> <!-- TMPL_VAR NAME="cn_class" --> <!-- TMPL_VAR NAME="cn_item" --> <!-- TMPL_VAR NAME="cn_suffix" -->&nbsp;</li>
<li><span class="label">ISBN:</span> <!-- TMPL_VAR NAME="isbn" -->&nbsp;</li>
<li><span class="label">Publisher:</span><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" -->&nbsp;</li>
<!-- TMPL_IF NAME="volumeddesc" --><li><span class="label">Volume:</span> <!-- TMPL_VAR NAME="volumeddesc" --></li><!-- /TMPL_IF -->

Loading…
Cancel
Save