Closed
Bug 585490
Opened 16 years ago
Closed 16 years ago
Italics for UNCONFIRMED bug links are hardcoded in Bugzilla/Template.pm
Categories
(Bugzilla :: User Interface, defect)
Bugzilla
User Interface
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: christian, Assigned: christian)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.78 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
I believe there are 2 things wrong in get_bug_link in Bugzilla/Template.pm:
#1, it hardcodes italics instead of a CSS class that can be skinned
#2, it does a string match on UNCONFIRMED to write out that styling
I am attaching a patch that adds css class and styles them so behavior stays the same.
Attachment #463960 -
Flags: review?
Also note the html/styling should really be in a template, but this 1/2 step gets it closer and is good enough for now.
Updated•16 years ago
|
Attachment #463960 -
Attachment is patch: true
Attachment #463960 -
Attachment mime type: application/octet-stream → text/plain
Comment 2•16 years ago
|
||
Christian:
Generally, you want to ask for review from somebody specific, or your review will probably never get done. I'm not sure if you've read over the Developers process, but if you haven't, it's here:
http://wiki.mozilla.org/Bugzilla:Developers
Yep, I was reading http://www.bugzilla.org/docs/reviewer-list.html right now to figure out who...you guys are quick ha.
Comment 4•16 years ago
|
||
Comment on attachment 463960 [details] [diff] [review]
Patch to remove hardcoded italics
However, since I'm here, I'll do the review. :-)
>=== modified file 'Bugzilla/Template.pm'
>+ my $css_classes = ["bz_bug_link"];
That should be @css_classes instead of an arrayref, since you're always using it like an array and then dereferencing it.
Other than that, this looks like a great cleanup, so just attach a new patch with that fixed and it will be r+.
Attachment #463960 -
Flags: review? → review-
Updated•16 years ago
|
Target Milestone: --- → Bugzilla 4.2
Ok, thanks for the speedy review!
Attachment #463960 -
Attachment is obsolete: true
Attachment #463961 -
Flags: review?(mkanat)
Comment 6•16 years ago
|
||
Comment on attachment 463961 [details] [diff] [review]
Same patch without using an arrayref
Looks good.
Would prefer a p0 patch next time.
Attachment #463961 -
Flags: review?(mkanat) → review+
Updated•16 years ago
|
Flags: approval+
Ok, I now see https://wiki.mozilla.org/Bugzilla:Patches says p0..will do next time.
Comment 8•16 years ago
|
||
All righty. Do you want to work to get commit access for this patch, or should I just commit it myself?
Keywords: checkin-needed
Comment 9•16 years ago
|
||
We don't use checkin-needed, we just have approval flags.
Keywords: checkin-needed
| Assignee | ||
Comment 10•16 years ago
|
||
You can just commit, if you guys will possibly grant me commit access I'll work towards that tomorrow, though I understand if I need more patches under my belt.
Comment 11•16 years ago
|
||
I'll commit this one, and then perhaps for future patches we'll work toward getting you commit access.
Comment 12•16 years ago
|
||
Thanks for the patch, Christian! :-)
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Template.pm
modified skins/standard/global.css
Committed revision 7436.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•