Closed Bug 364172 Opened 19 years ago Closed 18 years ago

Wording on showdependencytree.cgi is bad when there are no dependencies

Categories

(Bugzilla :: Creating/Changing Bugs, defect, P5)

2.23.3
defect

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: timeless, Assigned: reed)

References

()

Details

(Keywords: ue)

Attachments

(1 file, 1 obsolete file)

[ Show Resolved ] Max Depth: [ 1 ] [ < ] _____ [ > ] [ Unlimited ] 0 Open bugs that bug 20 depends on None In fact. The whole phrasing is indeed quite awkward.
This has got to be the mother of all trivial bugs. :-)
Severity: normal → trivial
OS: Mac OS X 10.3 → All
Priority: -- → P5
Hardware: Macintosh → All
Summary: None is not a good continuation for 0 Open bugs that bug 20 depends on → Wording on showdependencytree.cgi is bad when there are no dependencies
*** Bug 364517 has been marked as a duplicate of this bug. ***
Attached patch patch - v1 (obsolete) — Splinter Review
Change wording to be much nicer, fix spelling error, and correct validation issue.
Assignee: create-and-change → reed
Status: NEW → ASSIGNED
Attachment #249610 - Flags: review?(bugzilla-mozilla)
Comment on attachment 249610 [details] [diff] [review] patch - v1 >Index: template/en/default/bug/dependency-tree.html.tmpl > [% END %] >+ [% IF ids.size > 0 %] Nit: Make that [% IF ids.size %] >+ [% IF hide_resolved %] >+ open [% (ids.size == 1) ? terms.bug : terms.bugs %]: >+ [% ELSE %] >+ [%+ (ids.size == 1) ? terms.bug : terms.bugs %]: >+ [%- END %] More complicated that it has to be. Just do a: [% IF hide_resolved %]open[% END %] [%+ (ids.size == 1) ? terms.bug : terms.bugs %]: (fix the [%- [%+ etc as appropriate).
Attachment #249610 - Flags: review?(bugzilla-mozilla) → review-
Attached patch patch - v2Splinter Review
Correct nit and cleaned-up logic.
Attachment #249610 - Attachment is obsolete: true
Attachment #249704 - Flags: review?(bugzilla-mozilla)
Comment on attachment 249704 [details] [diff] [review] patch - v2 >Index: template/en/default/bug/dependency-tree.html.tmpl > [% END %] >+ [% IF ids.size > 0 %] Nit is still there. Can be fixed on checkin (doesn't have to be.. noticed other parts of the file use the same form).
Attachment #249704 - Flags: review?(bugzilla-mozilla) → review+
Flags: approval?
Target Milestone: --- → Bugzilla 3.0
Flags: approval? → approval+
Checking in template/en/default/bug/dependency-tree.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/dependency-tree.html.tmpl,v <-- dependency-tree.html.tmpl new revision: 1.25; previous revision: 1.24 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: