Skip to content

Commit

Permalink
Merge pull request #1828 from metacpan/haarg/release-nonlatest-with-l…
Browse files Browse the repository at this point in the history
…atest-module

use version specific release links for non-latest releases
  • Loading branch information
oalders committed Dec 1, 2016
2 parents 94f00c3 + da4a57e commit 76e39fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/inc/breadcrumbs.html
Expand Up @@ -37,7 +37,7 @@
<span class="dropdown"><b class="caret"></b></span>
<select class="<% module ? "" : "extend" %>" onchange="document.location.href=this.value"><% PROCESS version_dropdown %></select>
<% IF module %>
<a data-keyboard-shortcut="g d" class="release-name" href="/release/<% IF permalinks; [module.author, module.release].join('/'); ELSE; release.distribution; END %>"><% release.name %></a>
<a data-keyboard-shortcut="g d" class="release-name" href="/release/<% IF permalinks || release.status != 'latest'; [module.author, module.release].join('/'); ELSE; release.distribution; END %>"><% release.name %></a>
<% ELSE %>
<span class="release-name"><% release.name %></span>
<% END %>
Expand Down

0 comments on commit 76e39fc

Please sign in to comment.