Closed Bug 1133245 Opened 11 years ago Closed 11 years ago

Add ID HTML parameters to <tr> table rows on show_bug.cgi

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: a9016009, Assigned: a9016009)

References

Details

Attachments

(1 file, 1 obsolete file)

Allow using custom CSS to tweak how certain fields (both their label and their dropdown(s)) are displayed so customizations do not need to change templates anymore.
Attachment #8564587 - Flags: review?(dylan)
Comment on attachment 8564587 [details] [diff] [review] Add ID HTML parameters to <tr> table rows on show_bug.cgi Review of attachment 8564587 [details] [diff] [review]: ----------------------------------------------------------------- ::: template/en/default/bug/edit.html.tmpl @@ +928,4 @@ > [% LAST IF show_bug_flags && show_more_flags && bug_flags_set %] > [% END %] > [% IF show_bug_flags %] > + <tr id="field_tablerow_flags"> You changed the indenting level here.
Attachment #8564587 - Attachment is obsolete: true
Attachment #8564587 - Flags: review?(dylan)
Attachment #8567652 - Flags: review?(dylan)
Comment on attachment 8567652 [details] [diff] [review] 0001-Bug-1133245-Add-ID-parameters-to-tr-table-rows-on-sh.patch Review of attachment 8567652 [details] [diff] [review]: ----------------------------------------------------------------- r=dylan
Attachment #8567652 - Flags: review?(dylan) → review+
Flags: approval?
Comment on attachment 8567652 [details] [diff] [review] 0001-Bug-1133245-Add-ID-parameters-to-tr-table-rows-on-sh.patch >+ <tr id="field_tablerow_product"> why the field_ prefix?
(In reply to Frédéric Buclin from comment #5) > why the field_ prefix? Stuff inside already uses "field_label" and "field_value" so if you prefer a different prefix for those container IDs than the current field_tablerow_* prefixes, please share it.
Just no prefix at all.
(In reply to Frédéric Buclin from comment #7) > Just no prefix at all. Please provide reasons why that's better and if "prefix" refers to "field_" or to "field_tablerow_".
(In reply to Andre Klapper from comment #8) > Please provide reasons why that's better and if "prefix" refers to "field_" > or to "field_tablerow_". Longer names are useless, unless they bring some useful information. I have no scientific reasoning on this. :)
to keep consistency with the current somewhat verbose id scheme on show_bug, i'm happy to take the patch as-is.
Assignee: general → a9016009
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 6.0
Thanks. I don't have git push rights so anybody with access feel free to push the patch.
Committed. To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git 88e4275..3223291 master -> master
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 1334833
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: