From: lpsolit%gmail.com <> Date: Tue, 21 Jun 2005 02:42:11 +0000 (+0000) Subject: Bug 296887: Do not display the quip entry field when quip_list_entry_control is set... X-Git-Tag: bugzilla-2.20rc1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=973bac6ec2b118ced70d88a0fa0945aa935edc21;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl index 39b7c3840b..92570777ed 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') %]