Skip to content

Commit

Permalink
For folders, use name provided by the model.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Jul 19, 2012
1 parent 35c9d2b commit 57d56a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/templates/files._
Expand Up @@ -2,7 +2,7 @@
<% if (f.type === "tree") { %>
<!-- folders -->
<a class='link folder' href='#<%= user %>/<%= repo %>/tree/<%= branch %><%= f.path ? "/" +f.path : "" %>'>
<div class="filename"><%= f.path === _.parentPath(current_path) ? ".." : _.topPath(f.path) %></div>
<div class="filename"><%= f.path === _.parentPath(current_path) ? ".." : f.name %></div>
</a>
<% } else { %>
<!-- files -->
Expand Down

0 comments on commit 57d56a0

Please sign in to comment.