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 %>