summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-21 04:42:11 +0200
committerlpsolit%gmail.com <>2005-06-21 04:42:11 +0200
commit973bac6ec2b118ced70d88a0fa0945aa935edc21 (patch)
tree757016a2403c83fb26ead519482af726a4244a40 /template/en
parent9138d8995d1408306fbf24d43ac21066883c7970 (diff)
downloadbugzilla-973bac6ec2b118ced70d88a0fa0945aa935edc21.tar.gz
bugzilla-973bac6ec2b118ced70d88a0fa0945aa935edc21.tar.xz
Bug 296887: Do not display the quip entry field when quip_list_entry_control is set to 'closed' - Patch by Alfred Karl Kornel <kornel.1@osu.edu> r=LpSolit a=myk
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/list/quips.html.tmpl32
1 files changed, 21 insertions, 11 deletions
diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl
index 39b7c3840..92570777e 100644
--- a/template/en/default/list/quips.html.tmpl
+++ b/template/en/default/list/quips.html.tmpl
@@ -57,22 +57,32 @@
<p>[% approved.size %] quips approved and [% unapproved.size %] quips unapproved</p>
[% END %]
+
<p>
- [% terms.Bugzilla %] will pick a random quip for the headline on each [% terms.bug %] list, and
- you can extend the quip list. Type in something clever or funny or boring
- (but not obscene or offensive, please) and bonk on the button.
- [% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %]
- Note that your quip has to be approved before it is used.
- [% END %]
+ [% terms.Bugzilla %] will pick a random quip for the headline on each
+ [% terms.bug %] list.
</p>
-<form method="post" action="quips.cgi">
- <input type="hidden" name="action" value="add">
- <input size="80" name="quip">
+[% IF Param("quip_list_entry_control") != "closed" %]
<p>
- <input type="submit" value="Add This Quip">
+ You can extend the quip list. Type in something clever or funny or boring
+ (but not obscene or offensive, please) and bonk on the button.
+ [% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %]
+ Note that your quip has to be approved before it is used.
+ [% END %]
</p>
-</form>
+
+ <form method="post" action="quips.cgi">
+ <input type="hidden" name="action" value="add">
+ <input size="80" name="quip">
+ <p>
+ <input type="submit" value="Add This Quip">
+ </p>
+ </form>
+[% ELSE %]
+ <p>No new entries may be submitted at this time.
+ </p>
+[% END %]
[% IF show_quips %]
[% IF !UserInGroup('admin') %]