From 8837ae8f675c680db04b4d90c4cde9cd57c7eefc Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Wed, 19 Mar 2014 09:26:29 +0100 Subject: [PATCH] Wrong position of the workflow approval icon in case of somebody else has locked the document --- app/views/dmsf/_file.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/dmsf/_file.html.erb b/app/views/dmsf/_file.html.erb index cd875052..6e2e67e7 100644 --- a/app/views/dmsf/_file.html.erb +++ b/app/views/dmsf/_file.html.erb @@ -112,7 +112,9 @@ <%= link_to('', unlock_dmsf_files_path(:id => file), :title => l(:title_unlock_file), - :class => 'icon icon-dmsf-unlock')%> + :class => 'icon icon-dmsf-unlock')%> + <% else %> + <% end %>