From 741e6ebb58bade895c51f7b6fe4d674e9a2dc451 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 10 May 2007 16:42:59 +0000 Subject: Bug 345290: Give a CSS class to various sections of the buglist, including quips - Patch by timeless r=wicked a=mkanat --- template/en/default/list/list.html.tmpl | 56 +++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 24 deletions(-) (limited to 'template') diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index a12c39a9e..dfed2f024 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -51,31 +51,35 @@ atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" %] -
- [% IF Param('timezone') %] - [% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]
- [% ELSE %] - [% time2str("%a %b %e %Y %T", currenttime) %]
- [% END %] +
+ + [% IF Param('timezone') %] + [% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]
+ [% ELSE %] + [% time2str("%a %b %e %Y %T", currenttime) %]
+ [% END %] +
[% IF debug %] -

+

[% FOREACH debugline = debugdata %] [% debugline FILTER html %]
[% END %]

-

[% query FILTER html %]

+

[% query FILTER html %]

[% END %] [% IF user.settings.display_quips.value == 'on' %] [% DEFAULT quip = "$terms.Bugzilla would like to put a random quip here, but no one has entered any." %] - [% quip FILTER html %] + + [% quip FILTER html %] + [% END %]
[% IF toolong %] -

+

This list is too long for [% terms.Bugzilla %]'s little mind; the Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %].

@@ -88,7 +92,9 @@ [%############################################################################%] [% IF bugs.size > 9 %] - [% bugs.size %] [%+ terms.bugs %] found. + + [% bugs.size %] [%+ terms.bugs %] found. + [% END %] [%############################################################################%] @@ -110,13 +116,15 @@ [%# Succeeding Status Line #%] [%############################################################################%] -[% IF bugs.size == 0 %] - [% terms.zeroSearchResults %]. -[% ELSIF bugs.size == 1 %] - One [% terms.bug %] found. -[% ELSE %] - [% bugs.size %] [%+ terms.bugs %] found. -[% END %] + + [% IF bugs.size == 0 %] + [% terms.zeroSearchResults %]. + [% ELSIF bugs.size == 1 %] + One [% terms.bug %] found. + [% ELSE %] + [% bugs.size %] [%+ terms.bugs %] found. + [% END %] +
@@ -137,7 +145,7 @@ [% IF bugs.size > 0 %] - - -
+
[% FOREACH id = buglist %] @@ -164,7 +172,7 @@
  + [% editqueryname = searchname OR defaultsavename OR '' %] + | Forget Search ' @@ -211,7 +219,7 @@ [% ELSE %]   + as [% IF cgi.param('product').size == 1 && cgi.param('product') != "" %] -

+

File a new [% terms.bug %] in the "[% cgi.param('product') FILTER html %]" product

-- cgit v1.2.3-24-g4f1b