Closed Bug 315590 Opened 21 years ago Closed 20 years ago

add anchors to attachments section

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

2.20
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(2 files)

i can provide a url that links to comment 0, or comment 1, but i can't link to the flags section of a bug. please create a named section <a name="flags" href="#flags">Flags</a>: for bonus points, anchors to individual flags. #f-...
Severity: minor → enhancement
Attached patch draft — — Splinter Review
Assignee: create-and-change → timeless
Status: UNCONFIRMED → ASSIGNED
Attachment #203930 - Flags: review?(kiko)
Comment on attachment 203930 [details] [diff] [review] draft This is cool! Probably the reporter talked about bug-flags. Timeless's patch implements attachment-flags. Both of them would be cool to have, but this works for now. Not sure if 'a' is the best prefix, but can be fixed upon checkin if we have a better name for it. The patch applies cleanly.
Attachment #203930 - Flags: review?(kiko) → review+
In case you approve/checkin/resolve, please file another bug for anchors related to bug-flags (and update this summary accordingly)
Flags: approval?
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.24
Flags: approval? → approval+
I've opened up bug 340530 for the part that didn't get implemented in this patch. Commited on trunk: Checking in template/en/default/attachment/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/list.html.tmpl,v <-- list.html.tmpl new revision: 1.29; previous revision: 1.28 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
i should probably note a few items. 1. if anyone ever references this anchors in urls and tries to involve an attachment that follows a private attachment, if that private attachment looses its private status, or if the link is viewed by someone who can see private attachments, then the anchor will be bad (permanently too). 2. re comment 2, probably the reporter, hrm, that's me, i'm reporter, patch author, and clearly sleepy hacker. how ironic.
Summary: add anchors to flag section → add anchors to attachments section
Attachment #224580 - Flags: review? → review+
Comment on attachment 224580 [details] [diff] [review] Patch for fixing the private thing, v1 Follow-up patch for bug 315590: fix scenario where we have private attachments, and make the numbering behaviour consistent with the way we currently treat private bug comments; patch by Vlad Dascalu <vladd@bugzilla.org>, r=timeless; a=myk on the bug. Checking in template/en/default/attachment/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/list.html.tmpl,v <-- list.html.tmpl new revision: 1.30; previous revision: 1.29 done
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: