diff --git a/app/views/layouts/base_memos.html.erb b/app/views/layouts/base_memos.html.erb index fdce1cc83..14944792d 100644 --- a/app/views/layouts/base_memos.html.erb +++ b/app/views/layouts/base_memos.html.erb @@ -56,7 +56,7 @@
<%=link_to @memo.author.name, user_path(@memo.author) %>
+
<% if @memo.attachments.any?%> <% options = {:author => true, :deletable => @memo.deleted_attach_able_by?(User.current) } %> <%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %> @@ -84,7 +84,7 @@ :method => 'get', :title => l(:button_quote) )if !@memo.locked? && User.current.logged? %> - + <%= link_to( image_tag('edit.png'), {:action => 'edit', :id => reply}, @@ -103,7 +103,7 @@ :method => :delete, :data => {:confirm => l(:text_are_you_sure)}, :title => l(:button_delete) - ) if reply.destroyable_by?(User.current) %> + ) if reply.destroyable_by?(User.current) %>