Navigation Menu

Skip to content

Commit

Permalink
Displaying the starred modules under the account tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
Talina06 committed Jul 8, 2014
1 parent df1fed7 commit 4455ced
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion root/account/stargazer.html
@@ -1,4 +1,4 @@
<% PROCESS inc/account-bar.html %>
<div class="content">
<% INCLUDE inc/stargazer-table.html stargazers = stars, author = 1, tablesorter = 1 %>
<% INCLUDE inc/stargazer-table.html stargazers = starred_modules, author = 1, tablesorter = 1 %>
</div>
5 changes: 2 additions & 3 deletions root/inc/stargazer-table.html
Expand Up @@ -2,7 +2,6 @@
<!-- I still have to add the css for starring. As, it is similar to ++ i did not change the code here. -->
<table id="author_favorites"
<% IF tablesorter %>data-default-sort="<% default_sort || '0,0' %>"<% END %>
<!-- here as well. -->
class="table table-condensed table-striped table-favorites<% IF tablesorter %> tablesorter<% END %>">
<thead>
<tr>
Expand All @@ -25,10 +24,10 @@
</td>
<% ELSE %>
<td class="pull-left-phone">
<a href="/author/<% stargazer.clicked_by_author %>"><% stargazer.clicked_by_author %></a>
<a href="/author/<% stargazer.author %>"><% stargazer.author %></a>
</td>
<% END %>
<td class="date relatize" sort="<% stargazer.date.dt_http %>"><% stargazer.date.dt_http %></td>
<td class="date relatize" sort="<% stargazer.date %>"><% stargazer.date %></td>
</tr>
<% END %>
</tbody>
Expand Down
1 change: 1 addition & 0 deletions root/wrapper.html
Expand Up @@ -108,6 +108,7 @@
<li><a href="/account/identities">Identities</a></li>
<li><a href="/account/profile">Profile</a></li>
<li><a href="/account/favorite/list">Favorites</a></li>
<li><a href="/account/stargazer">Stargazers</a></li>
<li>
<a href="#" onclick="$('#logout').submit(); return false">Logout</a>
</li>
Expand Down

0 comments on commit 4455ced

Please sign in to comment.