Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tmpl
Garry Collum 3c27773a41 Bug 3292: Fix to display Branch names instead of branch codes in opac serial's displays.
Fixes display of branch name in opac-full-serial-issues.tmpl and opac-serial-issues.tmpl.  Also enables zebra striping in opac-serial-issues.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-09 22:18:29 -04:00

98 lines
3.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Serials
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
<div id="bd">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div class="container">
<!-- TMPL_UNLESS name="popup" -->
<h1 class="catalogue">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h1>
<a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Back to biblio</a>
<!-- /TMPL_UNLESS -->
<div class="tabsubs">
<!-- TMPL_LOOP NAME="years" -->
<!-- TMPL_IF NAME="year" -->
<a class="tabsubs" href="javascript:showlayer(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<a class="tabsubs" href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
</div>
<!-- TMPL_LOOP NAME="years" -->
<!--TMPL_IF Name="first" -->
<div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" style="display:block"><!--TMPL_ELSE --><div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" style="display:none"><!--/TMPL_IF -->
<table width="400px">
<tr>
<th>Date
</th>
<th>Library
</th>
<th>Notes
</th>
<th>Date received
</th>
<th>Number
</th>
<th>Status
</th>
</tr>
<!-- TMPL_LOOP Name="serials" -->
<!-- TMPL_UNLESS Name="__odd__" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_UNLESS -->
<td> <!-- TMPL_VAR Name="publisheddate" -->
</td>
<td> <!-- TMPL_VAR name="branchname" -->
</td>
<td> <!-- TMPL_VAR name="notes" -->
</td>
<td> <!-- TMPL_IF Name="status2" --> <!-- TMPL_VAR Name="planneddate" --> <!-- /TMPL_IF -->
</td>
<td> <!-- TMPL_VAR Name="serialseq" -->
</td>
<td> <!-- TMPL_IF Name="status1" -->Waiting<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status5" -->Not Published<!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!--/TMPL_LOOP -->
<script language="JavaScript" type="text/javascript">
showlayer(<!-- TMPL_VAR name="yearmin" -->);
function showlayer(numlayer)
{
var yeardata=document.getElementsByName("yeardata");
for (i=0; i<yeardata.length; i++ ) {
ong=yeardata[i].getAttribute('id');
if (numlayer==ong) {
yeardata[i].style.display="block";
} else {
yeardata[i].style.display="none";
}
}
}
</script>
</div></div>
</div>
</div>
<!-- TMPL_IF NAME="OpacNav" -->
<div class="yui-b">
<div class="container">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
</div>
</div><!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->