summaryrefslogtreecommitdiff
path: root/views/model.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/model.haml')
-rw-r--r--views/model.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/model.haml b/views/model.haml
index 51a7498..e88f9b4 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -27,7 +27,7 @@
%div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%"}
//= haml :model_progress, :locals=>{:percentage_completed=>percentage_completed}, :layout => false
- - if is_authorized(model.web_uri, "DELETE")
+ - if is_authorized(model.web_uri, "DELETE") && is_aluist
%a{:href => url_for("/model/#{model.id}"), :id => "delete_#{model.id}", :class => 'delete_link'}
- if model.status =~ /Completed|Error|Cancelled/
 (delete)