Closed Bug 1085059 Opened 10 years ago Closed 10 years ago

Improve list/table.html.tmpl

Categories

(Bugzilla :: Bugzilla-General, defect)

4.5.6
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: christophe.jaillet, Unassigned)

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406

Steps to reproduce:

Search for something. Have a look at the generated html.


Actual results:

When the list of bug is generated, in list/table.html.tmpl, for each line, some (IMO) useless html code is generated (see line 181, span class="bz_default_hidden">[%+ '[SEC]' IF bug.secure_mode %]</span>)





Expected results:

If there is no need for have this (hidden) [SEC] in the html file, then the line could be dropped completely.
If of any use, at least the surrounding <span class="bz_default_hidden"></span> could be generated only when [SEC] is also generated.

Also the </span> at line 223 could be put instead at the end of the previous line to have a cleaner html file and to save about 10 bytes per displayed column per retrieved bug.
Keywords: perf
JS and CSS codes are interacting with bz_default_hidden, so it's definitely needed.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.