20b2bbba5e
If no messages have been sent to the patron, display a notice that that effect in the staff patron messaging tab rather than just a blank page. [LL bug 452] Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com> Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
68 lines
2.5 KiB
Cheetah
68 lines
2.5 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Patrons › <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="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> › <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --> </div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
|
|
<!-- TMPL_IF NAME="error" -->
|
|
<div class="dialog alert">
|
|
<!-- TMPL_IF NAME="AUTH_UPDATE_FAILED" -->
|
|
<h3>Userid / Password update failed</h3>
|
|
<strong>Insufficient privileges.</strong>
|
|
<p>Other fields updated.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE_STAFF" -->
|
|
<h3>Unable to delete staff user</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE_OTHERLIBRARY" -->
|
|
<h3>Unable to delete patrons from other libraries with current settings</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE" -->
|
|
<h3>Unable to delete patron:</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
<div class="yui-g">
|
|
<!-- TMPL_IF NAME="unknowuser" -->
|
|
<div class="dialog message">
|
|
This patron does not exist.
|
|
</div>
|
|
<!-- TMPL_ELSE -->
|
|
|
|
<table>
|
|
<caption>Message Queue</caption>
|
|
<tr><th>Type</th><th>Subject</th><th>Status</th><th>Time Prepared</th></tr>
|
|
<!-- TMPL_IF NAME="message_queue" -->
|
|
<!-- TMPL_LOOP name="message_queue" -->
|
|
<tr><td><!-- TMPL_VAR NAME="message_transport_type" --></td><td><!-- TMPL_VAR NAME="subject" --></td><td><!-- TMPL_VAR NAME="status" --></td><td><!-- TMPL_VAR NAME="time_queued" --></td></tr>
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- TMPL_ELSE -->
|
|
<tr><td colspan="4">There is no record of any messages that have been sent to this patron.</td></tr>
|
|
<!-- /TMPL_IF -->
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- /TMPL_IF --> <!-- unknowuser -->
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|