MantisBT

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007573mantisbtbugtrackerpublic2006-11-07 08:382013-04-27 18:41
Reporterrickb 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformAnyOSAnyOS Version
Product Version1.0.5 
Target VersionFixed in Version 
Summary0007573: add link elements to head of each page
DescriptionHTML allows for <link> elements in the header to indicate relationships from a page to several other pages. A useful way to use this is for the "previous" and "next" links to be expressed in the head (as well as via <a> links in the body of course).

Please add something to the head of relevant pages that puts <link> elements in.
Additional InformationExample <link>s

<link href="main_page.php" rel="Top" />
<link href="view_all_bug_page.php" rel="up" />
<link href="bug_view_page.php?bug_id=1234" rel="prev" />
<link href="bug_view_page.php?bug_id=1232" rel="next" />

FYI see http://www.w3.org/TR/html4/struct/links.html [^]
Tagspatch
Attached Filesdiff file icon 7573.diff [^] (3,402 bytes) 2010-11-30 15:53 [Show Content]

- Relationships

-  Notes
User avatar (0013690)
rickb (reporter)
2006-11-07 08:40

In Firefox, the <link> elements are not visible out of the box. The Link Widgets addon is needed to access them. See https://addons.mozilla.org/firefox/2933/ [^]
User avatar (0013695)
ryandesign (reporter)
2006-11-07 20:58

I don't know that linking to the next or previous issue, numerically, is useful at all. Perhaps linking to the next and previous issues *in the current list of issues* would be useful. But if we add <link> tags for those, I would also want <a href> tags added somewhere in the page. There's no point only making <link> tags, since I don't know of any mainstream browser that makes use of those.

Adding <link> tags for issues related to the current one could be interesting.
User avatar (0013698)
rickb (reporter)
2006-11-08 05:21

I quite agree there's not much point having numerical chaining of issues that differs from what the << >> buttons do.

Because we already have << and >> links for the chain of issues in the current view, these are the links I had in mind in making my suggestion.

The page layout is slightly different from one page to the next. Therefore, the << >> buttons move slightly, so clicking quickly through them takes a bit more attention - so being a bit more distracting. Having <link> equivalents for these two buttons gains the benefit for users of having buttons in one place on the UI as they step through their list of issues.
User avatar (0013703)
ryandesign (reporter)
2006-11-08 13:21

I forgot we already have << and >> links on the page. In light of that, adding correspending <link> elements makes sense.
User avatar (0027519)
Sergiodf (reporter)
2010-11-30 15:58

I have attached a patch for Mantis 1.2.3.
Tested in Mantis 1.2.1 using Seamonkey 2.0.10 and Firefox 3.6.12 + Site navigation bar 2.0.3.
User avatar (0027520)
dhx (developer)
2010-11-30 20:20

Great idea. Thanks for the patch too. I've queued this up for 1.3.x.
User avatar (0036709)
atrol (developer)
2013-04-27 18:41

Removed assignment. dhx will not contribute to this issue in near future.

- Issue History
Date Modified Username Field Change
2006-11-07 08:38 rickb New Issue
2006-11-07 08:40 rickb Note Added: 0013690
2006-11-07 20:58 ryandesign Note Added: 0013695
2006-11-08 05:21 rickb Note Added: 0013698
2006-11-08 13:21 ryandesign Note Added: 0013703
2010-11-30 15:53 Sergiodf File Added: 7573.diff
2010-11-30 15:53 Sergiodf Tag Attached: patch
2010-11-30 15:58 Sergiodf Note Added: 0027519
2010-11-30 20:19 dhx Assigned To => dhx
2010-11-30 20:19 dhx Status new => assigned
2010-11-30 20:20 dhx Note Added: 0027520
2010-11-30 20:20 dhx Target Version => 1.3.x
2013-04-27 18:41 atrol Note Added: 0036709
2013-04-27 18:41 atrol Assigned To dhx =>
2013-04-27 18:41 atrol Status assigned => acknowledged
2013-04-27 18:41 atrol Target Version 1.3.x =>


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.1161 seconds.
memory usage: 2,814 KB
Powered by Mantis Bugtracker