Closed
Bug 547496
Opened 14 years ago
Closed 14 years ago
Add IDs to some form elements
Categories
(Bugzilla :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.6
People
(Reporter: LpSolit, Assigned: LpSolit)
Details
Attachments
(1 file, 1 obsolete file)
10.14 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
In order to add icons to some templates, I first need them to have IDs I can point to from the CSS files. Here is what I can do with this patch applied: http://lpsolit.files.wordpress.com/2010/02/bugzilla_with_icons.png
Attachment #427997 -
Flags: review?(guy.pyrzak)
Updated•14 years ago
|
Attachment #427997 -
Flags: review?(guy.pyrzak) → review+
Assignee | ||
Updated•14 years ago
|
Flags: approval+
Assignee | ||
Comment 1•14 years ago
|
||
Max, do you agree to take my patch for 3.6rc1? All it does is to add IDs to some HTML elements, so I see as being equivalent to your patches adding hooks to stable branches. :)
Flags: approval3.6?
Comment 2•14 years ago
|
||
(In reply to comment #1) > Max, do you agree to take my patch for 3.6rc1? All it does is to add IDs to > some HTML elements, so I see as being equivalent to your patches adding hooks > to stable branches. :) Hmm. Maybe. Did you check that the ids don't conflict with anything in the templates that use tabs.html.tmpl?
Comment 3•14 years ago
|
||
Maybe it would be safer to call them tab_[% name %] instead of just [% name %].
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #2) > Hmm. Maybe. Did you check that the ids don't conflict with anything in the > templates that use tabs.html.tmpl? Yes, I checked. (In reply to comment #3) > Maybe it would be safer to call them tab_[% name %] instead of just [% name %]. Don't know. For now, there is no conflict, and the names are hardcoded.
Comment 5•14 years ago
|
||
(In reply to comment #4) > Don't know. For now, there is no conflict, and the names are hardcoded. Yeah, but just for future use. I don't think we'll id anything else as tab_<something>.
Comment 6•14 years ago
|
||
I see no reason why this couldn't land on the 3.6 branch, personally.
Assignee | ||
Comment 7•14 years ago
|
||
%name% -> tab_%name% I also added an ID for old and new charts in reports/menu.html.tmpl, which I omitted in my previous patch. Carrying pyrzak's r+ forward. Happy now? :)
Attachment #427997 -
Attachment is obsolete: true
Attachment #428173 -
Flags: review+
Comment 8•14 years ago
|
||
Yeah, looks fine. :-)
Flags: approval3.6? → approval3.6+
Target Milestone: Bugzilla 3.8 → Bugzilla 3.6
Assignee | ||
Comment 9•14 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/admin/admin.html.tmpl modified template/en/default/global/tabs.html.tmpl modified template/en/default/reports/menu.html.tmpl Committed revision 7027. I cannot commit to the 3.6 branch. I get an error when trying to. bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(connected=True, username='lpsolit@gmail.com', host='bzr.mozilla.org', port=None)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.
Whiteboard: [needs checkin for 3.6]
Assignee | ||
Comment 10•14 years ago
|
||
ok, works now. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.6/ modified template/en/default/admin/admin.html.tmpl modified template/en/default/global/tabs.html.tmpl modified template/en/default/reports/menu.html.tmpl Committed revision 6999.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [needs checkin for 3.6]
You need to log in
before you can comment on or make changes to this bug.
Description
•