mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb in mix-rails-0.15.0 vs mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb in mix-rails-0.16.0
- old
+ new
@@ -3,14 +3,16 @@
= @title
%a.link-popover{"data-content" => "<i class=icon-edit></i> Edit"}
.loading-file
- if @image.url
%a.photo-link{href: "#"}
- %img{src: ROOT_PATH + @image.thumb.url}
+ %img{src: ROOT_PATH + @image.medium.url}
- else
%img{src: "http://placehold.it/130x90&text=Carregando"}
-if (@progress != null && @progress < 100)
%div{class: (@progress < 100) ? 'progress progress-striped active' : 'progress'}
.bar{style: "width:#{@progress}%;"}
.caption
- %a.file-action.destroy{href: "#"}
- <%= image_tag "albums/delete.png" %>
+ %a.file-action.btn.destroy{href: "#", tooltip: 'Excluir'}
+ <%= image_tag "admix/icons/delete.png" %>
+ %a.file-action.btn.edit{href: "#", tooltip: 'Editar'}
+ <%= image_tag "admix/icons/picture_edit.png" %>
\ No newline at end of file