Skip to content

Commit

Permalink
Move the ++ (favorite) button next to the distribution/release
Browse files Browse the repository at this point in the history
When on a module's documentation page, the former placement was often
confused as ++ing the module itself instead of the containing
distribution.

Closes GH #254.
  • Loading branch information
tsibley committed Nov 15, 2013
1 parent 0b5c2b2 commit 77e99e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion root/pod.html
Expand Up @@ -14,10 +14,10 @@
</span>
&nbsp;/&nbsp;
<a href="/release/<% IF release.status == 'latest'; release.distribution; ELSE; [module.author, module.release].join('/'); END %>"><% module.release %></a>
</big></strong><% INCLUDE inc/favorite.html module = module %><strong><big>
&nbsp;/&nbsp;
<span class="select-text" itemprop="name"><% module.documentation %></span>
</big></strong>
<% INCLUDE inc/favorite.html module = module %>
<% IF release.status != 'latest' %><div style="float: right"><strong><big><% IF release.maturity == 'developer'; 'dev release, '; END %></big><a href="<% canonical %>"><big>go to latest</big></a></strong></div><% END %><br><br>

<div class="search-bar">
Expand Down
2 changes: 1 addition & 1 deletion root/static/css/style.css
Expand Up @@ -337,7 +337,7 @@ input.g-button:active, button.g-button:active, a.g-button:active {

button.favorite, a.favorite {
padding: 1px 3px;
margin-left: 10px;
margin-left: 5px;
font-size: 0.9em;
background-color: #fff;
opacity: 0.5;
Expand Down

0 comments on commit 77e99e3

Please sign in to comment.