From 4b53e08a4f60cba6a7f3e8cc90d389e9241a9f19 Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sat, 22 Dec 2012 16:18:55 -0500 Subject: [PATCH] Fail gracefully when there are no quotes --- .../portlets/templates/randomquote.pt | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/Products/ifQuotes/portlets/templates/randomquote.pt b/Products/ifQuotes/portlets/templates/randomquote.pt index f94b73a..6079795 100755 --- a/Products/ifQuotes/portlets/templates/randomquote.pt +++ b/Products/ifQuotes/portlets/templates/randomquote.pt @@ -12,15 +12,30 @@ -
-
- - - - - - -
+ +
+
+ - + + + + +
+
+ + +
+ "Nothing"
+ - Nobody

+ To see quotes here: add a quote folder, then add quotes inside your quote folder. + + + + +
+