Skip to content

Commit

Permalink
Indents the file item template
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Apr 10, 2012
1 parent e6214f1 commit 76241e6
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -52,7 +52,12 @@ class Kandan.Plugins.Attachments
return "/assets/file_icon.png"

@file_item_template: _.template '''
<div class="file_item"><a href="<%= url %>"><img src="<%= iconUrl %>"><span><%= fileName %></span></a></div>
<div class="file_item">
<a href="<%= url %>">
<img src="<%= iconUrl %>"/>
<span><%= fileName %></span>
</a>
</div>
'''

# TODO this part is very bad for APIs! shoudnt be exposing a backbone collection in a plugin.
Expand Down

0 comments on commit 76241e6

Please sign in to comment.