Skip to content

Commit

Permalink
refs #1074, go to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
monken committed Feb 5, 2014
1 parent 5353ac2 commit b46f5e3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
11 changes: 4 additions & 7 deletions root/inc/breadcrumbs.html
Expand Up @@ -22,7 +22,8 @@
END %>
<% END %>
<div class="breadcrumbs" itemscope itemtype="http://schema.org/SoftwareApplication">
<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>
<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>
<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">
<span class="dropdown"><b class="caret"></b></span>
Expand All @@ -32,16 +33,12 @@
<% 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 %>
<span>&nbsp;/&nbsp;
<% module.documentation %></span>
<%- END %>
<%- IF release.status != 'latest' %>
<div class="pull-right">
<%- IF release.maturity == 'developer'; 'dev release, '; END %>
<a href="<% IF module %>/module/<% module.documentation %><% ELSE %>/release/<% release.distribution; END %>">go to latest</a>
</div>
<%- END %>
</div>
18 changes: 9 additions & 9 deletions root/static/less/breadcrumbs.less
@@ -1,14 +1,14 @@
.nav-header {
// .nav .nav-header;
}
.breadcrumbs {

.breadcrumbs a, .breadcrumbs span {
font-weight: bold;
font-size: 1.2em;

}
> a, > span, > div {
font-weight: bold;
font-size: 1.2em;
}

a.latest i {
margin: 2px 5px 2px 0;
}

.breadcrumbs {
margin-bottom: 5px;
.dropdown a {
text-decoration: none;
Expand Down

0 comments on commit b46f5e3

Please sign in to comment.