Improve list/table.html.tmpl

RESOLVED WORKSFORME

Status

()

Bugzilla
Bugzilla-General
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: Christophe JAILLET, Unassigned)

Tracking

({perf})

Details

(Reporter)

Description

4 years ago
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.
(Reporter)

Updated

4 years ago
Keywords: perf

Comment 1

4 years ago
JS and CSS codes are interacting with bz_default_hidden, so it's definitely needed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.