Skip to content

Commit

Permalink
only show jump to latest link if not latest
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Nov 20, 2016
1 parent 41cefae commit f50edc6
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 f50edc6

Please sign in to comment.