Owen Leonard
c61dc7863d
This patch modifies several patron templates to use the Bootstrap grid instead of YUI. This patch also removes obsolete "text/javascript" attributes from <script> tags and "text/css" attributes from <style> tags in the modified templates. Markup has been corrected in paycollect.tt and readingrec.tt where a table row lacked <tr>. To test, apply the patch and view the following pages, confirming that they look correct at various browser widths: - Patron -> Notices - Patron -> Purchase suggestions - Patron -> Circulation history - Patron -> Routing lists - Patron -> Statistics - Patron -> Fines -> Pay Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
98 lines
3.7 KiB
Text
98 lines
3.7 KiB
Text
[% USE raw %]
|
|
[% USE Asset %]
|
|
[% USE Koha %]
|
|
[% USE AuthorisedValues %]
|
|
[% USE Branches %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Subscription routing lists for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="pat_routing_lists" class="pat">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'patron-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Subscription routing lists for [% INCLUDE 'patron-title.inc' %]</div>
|
|
|
|
<div class="main container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-10 col-sm-push-2">
|
|
<main>
|
|
|
|
[% INCLUDE 'members-toolbar.inc' %]
|
|
|
|
<!-- Search Bar -->
|
|
<p class="tip">Search subscriptions:</p>
|
|
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing | html %]" />[% END %]<input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" /><input type="submit" value="Search" class="submit" />
|
|
</form>
|
|
<!-- Search Bar End -->
|
|
|
|
[% SET routinglists = patron.get_routing_lists %]
|
|
<h1>
|
|
[% UNLESS ( routinglists ) %]
|
|
0 subscription routing lists
|
|
[% ELSIF ( routinglists.count == 1 ) %]
|
|
[% routinglists.count | html %] subscription routing list
|
|
[% ELSE %]
|
|
[% routinglists.count | html %] subscription routing lists
|
|
[% END %]
|
|
</h1>
|
|
|
|
<div id="subscriptions">
|
|
|
|
[% IF ( routinglists ) %]
|
|
<table id="subscriptiont">
|
|
<thead>
|
|
<tr>
|
|
<th>Subscription title</th>
|
|
<th>Position</th>
|
|
<th>Routing list</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH routinglist IN routinglists %]
|
|
<tr>
|
|
<td>
|
|
<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% routinglist.subscription.subscriptionid | uri %]">
|
|
[% routinglist.subscription.biblio.title | html %]
|
|
</a>
|
|
</td>
|
|
<td>
|
|
[% routinglist.ranking | html %]
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% routinglist.subscription.subscriptionid | uri %]">
|
|
Edit routing list
|
|
</a>
|
|
<input type="hidden" name="biblionumber" value="[% routinglist.subscription.biblionumber | html %]" />
|
|
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<p>Patron does not belong to any subscription routing lists.</p>
|
|
<input type="hidden" name="biblionumber" value="[% routinglist.subscription.biblionumber | html %]" />
|
|
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
|
[% END %]
|
|
|
|
</div>
|
|
|
|
</main>
|
|
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
|
|
|
<div class="col-sm-2 col-sm-pull-10">
|
|
<aside>
|
|
[% INCLUDE 'circ-menu.inc' %]
|
|
</aside>
|
|
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
|
|
</div> <!-- /.row -->
|
|
|
|
[% MACRO jsinclude BLOCK %]
|
|
[% INCLUDE 'str/members-menu.inc' %]
|
|
[% Asset.js("js/members-menu.js") | $raw %]
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|