Bug 32690: Reindent the serial collection template
This patch reindents the serial collection template so that it has consistent indentation. These changes should have no visible effect on the page. To test, apply the patch and go to Serials -> Subscription detail -> Serial collection. Everything should look normal. All tabs should work correctly. Viewing the diff while ignoring whitespace changes should show only places where a line break was added. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
50f997a4b4
commit
bcf4ff277e
1 changed files with 280 additions and 274 deletions
|
@ -42,9 +42,11 @@
|
|||
[% UNLESS ( popup ) %]
|
||||
[% INCLUDE 'serials-toolbar.inc' %]
|
||||
|
||||
<h1>Serial collection information for <em>[% bibliotitle | html %]</em>
|
||||
<h1>
|
||||
Serial collection information for <em>[% bibliotitle | html %]</em>
|
||||
[% IF location %] ([% AuthorisedValues.GetByCode( 'LOC', location ) | html %]) [% END %]
|
||||
[% IF ( callnumber ) %]callnumber: [% callnumber | html %][% END %]</h1>
|
||||
[% IF ( callnumber ) %]callnumber: [% callnumber | html %][% END %]
|
||||
</h1>
|
||||
[% END %]
|
||||
|
||||
[% IF ( delete ) %]
|
||||
|
@ -110,7 +112,11 @@
|
|||
<br /> Subscription closed
|
||||
[% END %]
|
||||
</td>
|
||||
[% IF ( subscription.abouttoexpire ) || ( subscription.subscriptionexpired ) %]<td class="problem actions">[% ELSE %]<td class="actions">[% END %]
|
||||
[% IF ( subscription.abouttoexpire ) || ( subscription.subscriptionexpired ) %]
|
||||
<td class="problem actions">
|
||||
[% ELSE %]
|
||||
<td class="actions">
|
||||
[% END %]
|
||||
[% UNLESS subscription.closed %]
|
||||
[% IF ( routing && CAN_user_serials_routing ) %]
|
||||
[% IF ( subscription.hasRouting ) %]
|
||||
|
@ -130,15 +136,16 @@
|
|||
[% END %]
|
||||
[% IF ( subscr ) %]
|
||||
[% IF ( subscriptioncount > 1 ) %]
|
||||
<tr ><td colspan="8"> <a href="serials-collection.pl?biblionumber=[% biblionumber | uri %]">See any subscription attached to this biblio</a></td>
|
||||
<tr>
|
||||
<td colspan="8"> <a href="serials-collection.pl?biblionumber=[% biblionumber | uri %]">See any subscription attached to this biblio</a></td>
|
||||
</tr>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</table>
|
||||
[% END %]
|
||||
|
||||
|
||||
[% IF ( years ) %]<form name="edition" action="/cgi-bin/koha/serials/serials-edit.pl" method="post">
|
||||
[% IF ( years ) %]
|
||||
<form name="edition" action="/cgi-bin/koha/serials/serials-edit.pl" method="post">
|
||||
<div id="subscription_years" class="toptabs numbered">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
[% FOREACH year IN years %]
|
||||
|
@ -151,6 +158,7 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
[% FOREACH year IN years %]
|
||||
<div id="subscription-year-[% year.year | html %]" role="tabpanel" class="tab-pane">
|
||||
|
@ -168,34 +176,33 @@
|
|||
<input type="button" value="Delete selected issues" class="delete-issues btn btn-default btn-sm" data-subscriptionids="[% subscriptionidlist | html %]" />
|
||||
</p>
|
||||
[% END %]
|
||||
|
||||
<span class="checkall">
|
||||
<a class="CheckAll" href="#" data-year="[% year.year | html %]">Select all</a>
|
||||
</span> |
|
||||
<span class="clearall">
|
||||
<a class="CheckNone" href="#" data-year="[% year.year | html %]">Clear all</a>
|
||||
</span>
|
||||
|
||||
<table class="subscription-year-table">
|
||||
<thead>
|
||||
<tr>
|
||||
[% IF ( CAN_user_serials_receive_serials ) %]<th>Edit</th>[% END %]
|
||||
[% IF ( CAN_user_serials_receive_serials ) %]
|
||||
<th>Edit</th>
|
||||
[% END %]
|
||||
[% IF ( subscriptions.size > 1 ) %]
|
||||
<th># Subs</th>
|
||||
[% END %]
|
||||
<th>Date published
|
||||
</th>
|
||||
<th>Date published (text)
|
||||
</th>
|
||||
<th>Date received
|
||||
</th>
|
||||
<th>Number
|
||||
</th>
|
||||
<th>Status
|
||||
</th>
|
||||
<th>Notes
|
||||
</th>
|
||||
<th>Library
|
||||
</th>
|
||||
[% IF ( routing ) %]<th>Routing</th>[% END %]
|
||||
<th>Date published</th>
|
||||
<th>Date published (text)</th>
|
||||
<th>Date received</th>
|
||||
<th>Number</th>
|
||||
<th>Status</th>
|
||||
<th>Notes</th>
|
||||
<th>Library</th>
|
||||
[% IF ( routing ) %]
|
||||
<th>Routing</th>
|
||||
[% END %]
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -302,7 +309,6 @@
|
|||
[% END %]
|
||||
</div>
|
||||
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist | html %]" />
|
||||
|
||||
</div>
|
||||
</form>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue