From 973bac6ec2b118ced70d88a0fa0945aa935edc21 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 21 Jun 2005 02:42:11 +0000 Subject: Bug 296887: Do not display the quip entry field when quip_list_entry_control is set to 'closed' - Patch by Alfred Karl Kornel r=LpSolit a=myk --- template/en/default/list/quips.html.tmpl | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'template') 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 @@

[% approved.size %] quips approved and [% unapproved.size %] quips unapproved

[% END %] +

- [% 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.

-
- - +[% IF Param("quip_list_entry_control") != "closed" %]

- + 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 %]

-
+ +
+ + +

+ +

+
+[% ELSE %] +

No new entries may be submitted at this time. +

+[% END %] [% IF show_quips %] [% IF !UserInGroup('admin') %] -- cgit v1.2.3-24-g4f1b