share/views/partials/dependencies.haml in rbbt-rest-1.8.92 vs share/views/partials/dependencies.haml in rbbt-rest-1.8.93
- old
+ new
@@ -55,6 +55,10 @@
%span.status(class="#{dep_status}") [#{status}]
- if dep.dependencies.any?
- = cache[dep.path] ||= partial_render('partials/dependencies', :job => dep, :cache => cache)
+ - if cache[dep.path]
+ = reveal "(deps)", nil, :title => "Dependencies already shown above", "attr-reveal_title" => "#{[dep_workflow, dep.task_name, dep.name] * " > "}" do
+ = cache[dep.path]
+ - else
+ = cache[dep.path] ||= partial_render('partials/dependencies', :job => dep, :cache => cache)