Skip to content

Commit

Permalink
Add a class indicating that a repo is private.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Jul 20, 2012
1 parent 5efe376 commit edd32bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _includes/templates/start._
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
<% } %>
<div class="repos">
<% _.each(repos, function(r, index) { %>
<a title='edit' class="select-repo repo" data-user="<%= r.owner.login %>" data-repo="<%= r.name %>" href='#<%= r.owner.login %>/<%= r.name %>'>
<a title='edit' class="select-repo repo<%= r.private ? " private" : "" %>" data-user="<%= r.owner.login %>" data-repo="<%= r.name %>" href='#<%= r.owner.login %>/<%= r.name %>'>
<div class="name"><%= r.name %></div>
<div class="branches hidden"></div>
</a>
<% }); %>
</div>
Expand Down

0 comments on commit edd32bc

Please sign in to comment.