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)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: a9016009, Assigned: a9016009)
References
Details
Attachments
(1 file, 1 obsolete file)
7.26 KB,
patch
|
dylan
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8564587 -
Flags: review?(dylan)
Comment 2•11 years ago
|
||
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.
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8564587 -
Attachment is obsolete: true
Attachment #8564587 -
Flags: review?(dylan)
Attachment #8567652 -
Flags: review?(dylan)
Comment 4•11 years ago
|
||
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+
Updated•11 years ago
|
Flags: approval?
![]() |
||
Comment 5•11 years ago
|
||
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?
Assignee | ||
Comment 6•11 years ago
|
||
(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.
![]() |
||
Comment 7•11 years ago
|
||
Just no prefix at all.
Assignee | ||
Comment 8•11 years ago
|
||
(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_".
![]() |
||
Comment 9•11 years ago
|
||
(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. :)
Comment 10•11 years ago
|
||
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
Assignee | ||
Comment 11•11 years ago
|
||
Thanks. I don't have git push rights so anybody with access feel free to push the patch.
Comment 12•11 years ago
|
||
Committed.
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
88e4275..3223291 master -> master
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•