#9820 closed enhancement (fixed)
[PATCH] Previous/next navigation links on milestone pages
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | roadmap | Version: | 0.13dev |
Severity: | normal | Keywords: | navigation patch |
Cc: | Branch: | ||
Release Notes: |
Added Previous Milestone / Back to Roadmap / Next Milestone navigation links onto milestone pages. |
||
API Changes: | |||
Internal Changes: |
Description
I tend to use the milestone description to enter highlights about the upcoming release, just as the TracTeam does. As long as the release is actually upcoming, it’s quite convenient to go to the roadmap and refer to these highlights.
However, once the associated release comes out, it becomes necessary to check the “Show completed milestone” checkbox, click the “Update” button, then scroll down to the desired milestone, which is all the way down the page, and then open it.
My proposal is to add the “Previous Milestone” / “Next Milestone” navigation links to every milestone page, in the manner similar to changeset and ticket pages.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | milestone-prevnext.patch added |
---|
comment:1 by , 14 years ago
Keywords: | patch added |
---|---|
Milestone: | → 0.13 |
Owner: | set to |
It also annoys me every time I have to go and find a completed milestone. I'm not sure if the previous / next links are the solution to this, but they are a nice addition nevertheless. Thanks for the patch.
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Refactored patch applied in [10321]. The changes were the following:
- Use
req.href
instead ofreq.abs_href
to construct the links. - In addition to the "prev" and "next" links, also add "first" and "last" links.
- Take the
MILESTONE_VIEW
permission into account when constructing the list of milestones. - Add a "Back to Roadmap" link.
- Keep the
by=
argument in the navigation links.
comment:3 by , 14 years ago
Owner: | changed from | to
---|
Patch to add the prev/next navigation links to milestone pages (trunk)