From 3964f77cdc56c266830307b563113625cac8fa34 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Fri, 16 Aug 2013 15:39:03 +0200 Subject: [PATCH] Email notification failures when files are locked fixed --- app/views/dmsf_mailer/files_deleted.html.erb | 28 +++++++------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/app/views/dmsf_mailer/files_deleted.html.erb b/app/views/dmsf_mailer/files_deleted.html.erb index f0eb6fe0..17dea212 100644 --- a/app/views/dmsf_mailer/files_deleted.html.erb +++ b/app/views/dmsf_mailer/files_deleted.html.erb @@ -1,18 +1,10 @@ - - - - - - - User <%= link_to(h(@user), {:only_path => false, :controller => "users", :action => "show", :id => @user }) %> - deleted DMSF files in project <%= @project.name %>: - <% @files.each do |file| %> -

- <%= h(file.dmsf_path_str) %> (<%= file.name %>) - <% if file.last_revision %> - , <%= number_to_human_size(file.last_revision.size) %>, version: <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %> - <% end %> -

- <% end %> - - \ No newline at end of file +User <%= link_to(h(@user), {:only_path => false, :controller => 'users', :action => 'show', :id => @user }) %> +deleted DMSF files in project <%= @project.name %>: +<% @files.each do |file| %> +

+ <%= h(file.dmsf_path_str) %> (<%= file.name %>) + <% if file.last_revision %> + , <%= number_to_human_size(file.last_revision.size) %>, version: <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %> + <% end %> +

+<% end %>