summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2009-10-11 20:39:58 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2009-10-11 20:39:58 +0200
commit41cfdbf9dd76b7219d6b55aebd1667a23f46d897 (patch)
tree29f223028880d231f4955f6495dff0fd52ad6226
parent74b3d8e0377b6e0801650d730ad1813db68b0ef1 (diff)
Never display dynamic warning boxes on static pages.
Ignore-this: d420c3254452fdbd724064b833430b56 darcs-hash:afe833ffe159f3c9ba126bba1700af383bd66d54
-rwxr-xr-xjournal.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal.lisp b/journal.lisp
index 5004ad1..ad371b7 100755
--- a/journal.lisp
+++ b/journal.lisp
@@ -458,7 +458,7 @@
"NEU! Jetzt ohne regelm&auml;&szlig;ige Serverabst&uuml;rze!"
"NEU! Jetzt mit mehr als 3 % Uptime!")))
(<:as-is " &bull;&bull;&bull;")))
- (when *journal-warnings*
+ (when (and *journal-warnings* (eq *mode* :http))
(<:div :id :warnings
(dolist (warning *journal-warnings*)
(<:div :class :journal-warning