Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Displaying the stargazers
  • Loading branch information
Talina06 committed Jul 4, 2014
1 parent 3b3acfb commit ecd5428
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions root/inc/account-bar.html
Expand Up @@ -20,6 +20,9 @@
<li<% IF req.action == 'account/favorite/list' %> class="active"<% END %>>
<a href="/account/favorite/list">Favorites</a>
</li>
<li<% IF req.action == 'account/stargazer/list' %> class="active"<% END %>>
<a href="/account/stargazer">Stargazers</a>
</li>
<li>
<a href="#" onclick="$('#logout').submit(); return false">Logout</a>
</li>
Expand Down
1 change: 1 addition & 0 deletions root/inc/breadcrumbs.html
Expand Up @@ -45,6 +45,7 @@
<% IF mark_unauthorized_releases && NOT release.authorized %><em class="warning">UNAUTHORIZED RELEASE</em><% END %>
</div>
<div class="inline"><%- INCLUDE inc/favorite.html module = module || release %></div>
<div class="inline"><%- INCLUDE inc/stargazer.html mystarred = flag %></div>
<%- IF module %>
<span>&nbsp;/&nbsp;
<% module.documentation %></span>
Expand Down
3 changes: 1 addition & 2 deletions root/inc/stargazer.html
Expand Up @@ -7,5 +7,4 @@
<button type="submit" class="stargazer<% IF mystarred %> active<% ELSE %> highlight<% END %>"><span style="visibility:hidden;"><% total_starred %></span>Bookmark</button>
</form>
<% ELSE -%>
<a href="" onclick="alert('Please sign in to bookmark the Module'); return false" class="stargazer highlight"><span style="visibility:hidden;">
<% total_starred %></span>Bookmark</a><% END -%>
<a href="" onclick="alert('Please sign in to bookmark the Module'); return false" class="stargazer highlight"><span style="visibility:hidden;"><% total_starred %></span>Bookmark</a><% END -%>
2 changes: 1 addition & 1 deletion root/pod.html
Expand Up @@ -3,7 +3,7 @@
<% meta_description = module.abstract %>
<% title = module.documentation _ (module.abstract ? ' - ' _ module.abstract : ''); rss = 'distribution/' _ module.distribution %>

<% INCLUDE inc/breadcrumbs.html plussers_div = plusser_authors%>
<% INCLUDE inc/breadcrumbs.html flag= mystargazer%>

<ul class="nav nav-list slidepanel" itemscope itemtype="http://schema.org/SoftwareApplication">
<li class="visible-phone search">
Expand Down

0 comments on commit ecd5428

Please sign in to comment.