From c6c54c2e4235783544c44c08e4e55d4057556588 Mon Sep 17 00:00:00 2001
From: Koosha Khajeh Moogahi
Date: Sat, 18 Aug 2012 19:06:44 +0200
Subject: Bug 187753: Specify a maximum length for quips (512 characters)
r/a=LpSolit
---
template/en/default/global/user-error.html.tmpl | 6 ++++++
template/en/default/list/quips.html.tmpl | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
(limited to 'template/en/default')
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 8f4d7d21c..2d79bf851 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1479,6 +1479,12 @@
listed here.
[% END %]
+ [% ELSIF error == "quip_too_long" %]
+ [% title = "Quip Too Long" %]
+ You entered a quip with a length of [% length FILTER none %] characters,
+ but the maximum allowed length is [% constants.MAX_QUIP_LENGTH FILTER none %]
+ characters.
+
[% ELSIF error == "reassign_to_empty" %]
[% title = "Illegal Reassignment" %]
To reassign [% terms.abug %], you must provide an address for
diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl
index f38d98221..31e766a9b 100644
--- a/template/en/default/list/quips.html.tmpl
+++ b/template/en/default/list/quips.html.tmpl
@@ -61,7 +61,7 @@
-
+