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:
parent
668aabcab1
commit
bd31fb05a1
|
|
@ -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 -->
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue