Skip to content

Commit

Permalink
Merge pull request #1818 from metacpan/no-go-to-latest-on-latest
Browse files Browse the repository at this point in the history
only show jump to latest link if not latest
  • Loading branch information
ranguard committed Nov 20, 2016
2 parents a56fcf3 + f50edc6 commit fb4d808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/inc/breadcrumbs.html
Expand Up @@ -43,7 +43,7 @@
<% END %>
<% IF mark_unauthorized_releases && NOT release.authorized %><em class="warning">UNAUTHORIZED RELEASE</em><% END %>
</div>
<%- IF permalinks;
<%- IF release.status != 'latest';
FOREACH v IN versions; IF v.status == 'latest'; have_released = 1; END; END;
IF have_released; %>
<a class="latest" href="<% IF module %>/pod/<% module.documentation %><% ELSE %>/release/<% release.distribution; END %>" title="<%- IF release.maturity == 'developer'; 'dev release, '; END %>go to latest"><span class="fa fa-step-forward"></span></a>
Expand Down

0 comments on commit fb4d808

Please sign in to comment.