From c14322fae3658cf448dc30a858666badfb1ce5b2 Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sat, 29 May 2010 21:50:37 +0200 Subject: Show errors from template ; refs #47 --- smarty/templates/rpmphp/zoom.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'smarty/templates/rpmphp') diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 898ddce..6d13dda 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -1,3 +1,12 @@ +{if $error} + {if $error eq 'missing_name'} +

Missing package name

+
+

You have not specified any package name.

+

+
+ {/if} +{/if} {if $pkgdb} {else} -- cgit