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:
Katrin Fischer 2012-04-01 14:33:31 +02:00 committed by Paul Poulain
parent b70a9f4554
commit a3f1b8cb5e

View file

@ -9,30 +9,31 @@
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Alert subscribers for <i>[% bibliotitle %]</i></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<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 ) %]
<table>
<tr>
<th>Patron name</th>
<th>&nbsp;</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>
</tr>
[% END %]
</table>
[% ELSE %]
Nobody
[% END %]
<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>
</tr>
[% FOREACH alertloo IN alertloop %]
<tr>
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% alertloo.borrowernumber %]">[% alertloo.name %]</a></td>
</tr>
[% END %]
</table>
[% ELSE %]
<p>There are no patrons subsribed to this subscription serial alert.</p>
[% END %]
</div>
</div>