Bug 7864: Little changes to the display
Changes the display of subscribers a bit. - Makes each name a link to the patron account instead of having a separate 'View' link behind each name - Show the title and subscrption number as link to the subscription detail page instead of just 'subscription' Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
b70a9f4554
commit
a3f1b8cb5e
1 changed files with 22 additions and 21 deletions
|
@ -9,30 +9,31 @@
|
|||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Alert subscribers for <i>[% bibliotitle %]</i></div>
|
||||
|
||||
<div id="doc3" class="yui-t2">
|
||||
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
|
||||
<h1>Alert subscribers for <i>[% bibliotitle %]</i></h1>
|
||||
<a href="subscription-detail.pl?subscriptionid=[% subscriptionid %]" class="button">subscription</a>
|
||||
[% IF ( alertloop ) %]
|
||||
|
||||
<p>
|
||||
<span class="label">Subscription:</span> <a href="subscription-detail.pl?subscriptionid=[% subscriptionid %]">[% bibliotitle %] #[% subscriptionid %]</a>
|
||||
</p>
|
||||
|
||||
[% IF ( alertloop ) %]
|
||||
<table>
|
||||
<tr>
|
||||
<th>Patron name</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
|
||||
[% FOREACH alertloo IN alertloop %]
|
||||
<tr>
|
||||
<td>[% alertloo.name %]</td>
|
||||
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% alertloo.borrowernumber %]" class="button">View</a></td>
|
||||
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% alertloo.borrowernumber %]">[% alertloo.name %]</a></td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
[% ELSE %]
|
||||
Nobody
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<p>There are no patrons subsribed to this subscription serial alert.</p>
|
||||
[% END %]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue