Skip to content

Commit

Permalink
Make last breadcrumb of release not a link
Browse files Browse the repository at this point in the history
consistent with the module page.
closes #1059.
  • Loading branch information
rwstauner committed Feb 4, 2014
1 parent 582d63e commit 5738f6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions root/inc/breadcrumbs.html
Expand Up @@ -27,7 +27,11 @@
<div class="release">
<span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=this.value"><% PROCESS version_dropdown %></select>
<% IF module %>
<a itemprop="name" href="/release/<% IF release.status == 'latest'; release.distribution; ELSE; [module.author, module.release].join('/'); END %>"><% release.name %></a>
<% ELSE %>
<span><% release.name %></span>
<% END %>
</div>
<div class="inline"><%- INCLUDE inc/favorite.html module = module %></div>
<%- IF module %>
Expand Down

0 comments on commit 5738f6d

Please sign in to comment.