Sha256: ec19cc089dcd8d0d2858d9d9b8a357ca1d7e1f8cbe8d33f2b0299236dfc16ec1

Contents?: true

Size: 589 Bytes

Versions: 6

Compression:

Stored size: 589 Bytes

Contents

- new_info = {}
- info.each{|k,v| new_info[k] = v unless k.to_s == 'dependencies'}
= hash2dl(new_info)

- if info[:dependencies] and info[:dependencies].any?
  %h3 Dependencies
  %ul

    - task_exports = workflow.synchronous_exports + workflow.asynchronous_exports
    - task_exports = task_exports.collect{|t| t.to_s}
    - info[:dependencies].each do |task,name,path|
      - url = "/" + [workflow.to_s, task.to_s, name.to_s] * "/"
      %li
        (#{workflow} #{task}) 
        - if task_exports.include? task.to_s
          %a(href=url) #{ name }  
        - else
          = name 

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rbbt-rest-1.8.20 share/views/job_info.haml
rbbt-rest-1.8.19 share/views/job_info.haml
rbbt-rest-1.8.18 share/views/job_info.haml
rbbt-rest-1.8.17 share/views/job_info.haml
rbbt-rest-1.8.16 share/views/job_info.haml
rbbt-rest-1.8.15 share/views/job_info.haml