Permalink
Browse files

Don't make the release name a link when on /release

  • Loading branch information...
1 parent 072ba64 commit 9606cef1943b7673779c6cf133c13ee05f6adda5 @rwstauner rwstauner committed Mar 30, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 root/inc/breadcrumbs.html
@@ -36,7 +36,11 @@
<% author.name || release.author %>
</a>
<span>&nbsp;/&nbsp;</span>
+ <%- IF module %>
<a href="/release/<% IF release.status == 'latest'; release.distribution; ELSE; [module.author, module.release].join('/'); END %>"><% release.name %></a>
+ <%- ELSE %>
+ <span><% release.name %></span>
+ <%- END %>
<% PROCESS version_dropdown %>
<%- IF module %>
<span>&nbsp;/&nbsp;

0 comments on commit 9606cef

Please sign in to comment.