Closed Bug 283954 Opened 20 years ago Closed 19 years ago

GetBugLink should use bug state classes described in /skins

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: toms.baugis, Assigned: toms.baugis)

References

(Depends on 1 open bug)

Details

(Whiteboard: [blocker will fix])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050125 Firefox/1.0
Build Identifier: 

Currently GetBugLink just uses 2 styles - italics for UNCONFIRMED and bz_closed
class for FIXED, RESOLVED and VERIFIED bugs.

Instead it should use bug state classes described in /skins.

Reproducible: Always

Steps to Reproduce:
Define bz_VERIFIED class to distinct between resolved-fixed and resolved-verified.
Look in bug dependencies, for resolved-verified bugs.

Actual Results:  
All resolved bugs appear the same

Expected Results:  
Resolved-verified bugs should appear differently, as described in global.css
Assignee: myk → toms
Status: UNCONFIRMED → ASSIGNED
Attachment #175729 - Flags: review?
Comment on attachment 175729 [details] [diff] [review]
Add classes to bug spans in GetBugLink

since myk is owner of UI, i'm asking him for review
Attachment #175729 - Flags: review? → review?(myk)
Comment on attachment 175729 [details] [diff] [review]
Add classes to bug spans in GetBugLink

Mmm, good fix.	Just one minor problem and a documentation suggestion.

>+            my $pre = '<span class="bz_' . $bug_state . '>';

'>' => '">'


>+.bz_FIXED    { text-decoration: line-through; }
>+.bz_VERIFIED { text-decoration: line-through; }
>+.bz_CLOSED   { text-decoration: line-through; }
>+.bz_closed   { text-decoration: line-through; }

It would be good to note here that bz_closed means the union of closed states
rather than being a synonym for bz_CLOSED.
Attachment #175729 - Flags: review?(myk) → review-
that's a great idea!

i noticed myself, that applying patch just solves class problem, when you are in
show_bug.cgi. The showdependency tree uses another way of applying styles
(template filter). and i am not quite sure, how to solve it best.

myk - could you please help on this?

Depends on: 318265
Whiteboard: [blocker will fix]
cleaning up bugzilla - this bug is totally outdated.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: