diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/model.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/model.haml b/views/model.haml index fe43a1f..e688ae9 100644 --- a/views/model.haml +++ b/views/model.haml @@ -24,7 +24,7 @@ #{js} }); - %div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%", :alt => "#{percentage_completed}%"} + %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") %a{:href => url_for("/model/#{model.id}"), :id => "delete_#{model.id}", :class => 'delete_link'} @@ -46,7 +46,7 @@ - if CONFIG[:logger]=="debug" %dt Task: %dd - %a{:href => "#{model.task_uri}", :rel => "external"} + %a{:href => "#{model.task_uri}", :id => "model_#{model.id}_task_link", :rel => "external"} = model.task_uri - if model.warnings %dt Warnings: |