From 2e6c635d3fb541baa8ed376c2c09a99bc6844dcb Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Mon, 9 Dec 2002 07:57:17 +0000 Subject: Bug 159627 quips should be editable and deleteable using the web interface patch by burnus r=timeless,a=justdave --- template/en/default/list/quips.html.tmpl | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'template/en/default/list/quips.html.tmpl') diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl index f83f08128..ccb5208b7 100644 --- a/template/en/default/list/quips.html.tmpl +++ b/template/en/default/list/quips.html.tmpl @@ -39,6 +39,14 @@

[% END %] +[% IF deleted_quip %] +

+ + The quip '[% deleted_quip FILTER html %]' has been deleted. + +

+[% END %] +

Bugzilla will pick a random quip for the headline on each bug list, and you can extend the quip list. Type in something clever or funny or boring @@ -62,11 +70,38 @@

  • [% quip FILTER html %]
  • [% END %] +[% ELSIF edit_quips %] +

    Edit existing quips:

    + + + + + + + [% FOREACH quipid = quipids %] + + + + + + [% END %] +
    ActionUserQuip
    + + Delete + + + [% userid = quips.$quipid.userid %] + [% users.$userid FILTER html %] + [% "Unknown" IF NOT users.$userid %] + [% quips.$quipid.quip FILTER html %]
    [% ELSE %]

    Those who like their wisdom in large doses can view the whole quip list.

    + [% IF UserInGroup('admin') %] +

    Edit the quip list.

    + [% END %] [% END %] [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b