Skip to content

Commit

Permalink
Put 'go to latest' back inside 'if not latest'
Browse files Browse the repository at this point in the history
and update url from /module to /pod
  • Loading branch information
rwstauner committed Feb 5, 2014
1 parent 075b6ad commit 8cf422d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root/inc/breadcrumbs.html
Expand Up @@ -22,7 +22,9 @@
END %>
<% END %>
<div class="breadcrumbs" itemscope itemtype="http://schema.org/SoftwareApplication">
<a class="latest" href="<% IF module %>/module/<% module.documentation %><% ELSE %>/release/<% release.distribution; END %>" title="<%- IF release.maturity == 'developer'; 'dev release, '; END %>go to latest"><i class="icon icon-step-forward"></i></a>
<%- IF release.status != 'latest' %>
<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"><i class="icon icon-step-forward"></i></a>
<%- END %>
<a rel="author" itemprop="author" itemscope itemtype="http://schema.org/Person" href="/author/<% IF module; module.author; ELSE; release.author; END %>" title="<% author.asciiname %>"><% author.name %></a>
<span>&nbsp;/&nbsp;</span>
<div class="release">
Expand All @@ -33,8 +35,6 @@
<% ELSE %>
<span><% release.name %></span>
<% END %>
<%- IF release.status != 'latest' %>
<%- END %>
</div>
<div class="inline"><%- INCLUDE inc/favorite.html module = module || release %></div>
<%- IF module %>
Expand Down

0 comments on commit 8cf422d

Please sign in to comment.