View | Details | Raw Unified | Return to bug 7654
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-2 / +6 lines)
Lines 1146-1155 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
1146
    <h2>This is a serial</h2>
1146
    <h2>This is a serial</h2>
1147
    <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
1147
    <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
1148
    [% FOREACH subscription IN subscriptions %]
1148
    [% FOREACH subscription IN subscriptions %]
1149
    [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
1149
    <h3><br>
1150
    [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
1150
    [% IF ( subscription.branchname ) %][% subscription.branchname %][% ELSE %]
1151
    [% IF ( subscription.branchcode ) %][% subscription.branchcode %][% END %][% END %]
1152
    [% IF ( subscription.location_description ) %], [% subscription.location_description %][% ELSIF subscription.location %], [% subscription.location %][% END %]
1153
    [% IF ( subscription.callnumber ) %], [% subscription.callnumber %][% END %]
1151
    [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
1154
    [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
1152
    <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span>
1155
    <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span>
1156
    </h3>
1153
    [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
1157
    [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
1154
    <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
1158
    <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
1155
    [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
1159
    [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
(-)a/opac/opac-detail.pl (-2 / +3 lines)
Lines 471-478 foreach my $subscription (@subscriptions) { Link Here
471
    $cell{histenddate}       = $subscription->{histenddate};
471
    $cell{histenddate}       = $subscription->{histenddate};
472
    $cell{branchcode}        = $subscription->{branchcode};
472
    $cell{branchcode}        = $subscription->{branchcode};
473
    $cell{branchname}        = GetBranchName($subscription->{branchcode});
473
    $cell{branchname}        = GetBranchName($subscription->{branchcode});
474
    $cell{hasalert}          = $subscription->{hasalert};
474
    $cell{location}          = $subscription->{location};
475
    $cell{location_description} = $shelflocations->{ $subscription->{'location'} };
475
    $cell{callnumber}        = $subscription->{callnumber};
476
    $cell{callnumber}        = $subscription->{callnumber};
477
    $cell{hasalert}          = $subscription->{hasalert};
476
    $cell{closed}            = $subscription->{closed};
478
    $cell{closed}            = $subscription->{closed};
477
    #get the three latest serials.
479
    #get the three latest serials.
478
    $serials_to_display = $subscription->{opacdisplaycount};
480
    $serials_to_display = $subscription->{opacdisplaycount};
479
- 

Return to bug 7654