Corrections to Printer Profiles template to handle no profiles case.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Nighswonger 2008-02-16 07:54:53 +13:00 committed by Joshua Ferraro
parent 668aabcab1
commit bd31fb05a1
1 changed files with 4 additions and 1 deletions

View File

@ -30,9 +30,9 @@ function confirm_deletion(prof_id) {
<!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
<!-- TMPL_IF NAME="resultsloop" -->
<h2>Printer Profiles</h2>
<form name="input" action="/cgi-bin/koha/labels/label-profiles.pl" method="get">
<!-- TMPL_IF NAME="resultsloop" -->
<table>
<tr>
<th>Printer Name</th>
@ -78,6 +78,9 @@ function confirm_deletion(prof_id) {
<!-- /TMPL_LOOP -->
</table>
</form>
<!-- TMPL_ELSE -->
No Printer Profiles currently defined.
</form>
<!-- /TMPL_IF -->