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 894-903 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
894
    <h2>This is a serial</h2>
894
    <h2>This is a serial</h2>
895
    <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
895
    <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
896
    [% FOREACH subscription IN subscriptions %]
896
    [% FOREACH subscription IN subscriptions %]
897
    [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
897
    <h3><br>
898
    [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
898
    [% IF ( subscription.branchname ) %][% subscription.branchname %][% ELSE %]
899
    [% IF ( subscription.branchcode ) %][% subscription.branchcode %][% END %][% END %]
900
    [% IF ( subscription.location_description ) %], [% subscription.location_description %][% ELSIF subscription.location %], [% subscription.location %][% END %]
901
    [% IF ( subscription.callnumber ) %], [% subscription.callnumber %][% END %]
899
    [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
902
    [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
900
    <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span>
903
    <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span>
904
    </h3>
901
    [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
905
    [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
902
    <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
906
    <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
903
    [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
907
    [% 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