Sha256: 235f8107b50a95d20f9e40d7215975b49714b93b70af28be026b2b98575545de

Contents?: true

Size: 600 Bytes

Versions: 129

Compression:

Stored size: 600 Bytes

Contents

- if result.any?
  - table_id = [workflow.to_s, task, jobname] * "_"
  - table_class = 'workflow_tsv_result'
  - begin
    - page = result.size > 50 ? "1" : nil
  - rescue
    - page = "1" 

  - rows, total_size = tsv_rows(result, page)
  - header = result.all_fields

  = workflow_partial('partials/table', workflow, task, 
    locals.merge(:table_id => table_id, :page => page, :table_class => table_class, :rows => rows, :total_size => total_size, :header => result.all_fields, :row_ids => :use, :table_url => jobname ? File.join('/', workflow.to_s, task, jobname) : nil))

- else

  Empty result

Version data entries

129 entries across 129 versions & 1 rubygems

Version Path
rbbt-rest-1.8.79 share/views/job_result/tsv.haml
rbbt-rest-1.8.78 share/views/job_result/tsv.haml
rbbt-rest-1.8.77 share/views/job_result/tsv.haml
rbbt-rest-1.8.76 share/views/job_result/tsv.haml
rbbt-rest-1.8.75 share/views/job_result/tsv.haml
rbbt-rest-1.8.74 share/views/job_result/tsv.haml
rbbt-rest-1.8.73 share/views/job_result/tsv.haml
rbbt-rest-1.8.72 share/views/job_result/tsv.haml
rbbt-rest-1.8.71 share/views/job_result/tsv.haml
rbbt-rest-1.8.70 share/views/job_result/tsv.haml
rbbt-rest-1.8.69 share/views/job_result/tsv.haml
rbbt-rest-1.8.68 share/views/job_result/tsv.haml
rbbt-rest-1.8.67 share/views/job_result/tsv.haml
rbbt-rest-1.8.66 share/views/job_result/tsv.haml
rbbt-rest-1.8.65 share/views/job_result/tsv.haml
rbbt-rest-1.8.64 share/views/job_result/tsv.haml
rbbt-rest-1.8.63 share/views/job_result/tsv.haml
rbbt-rest-1.8.62 share/views/job_result/tsv.haml
rbbt-rest-1.8.61 share/views/job_result/tsv.haml
rbbt-rest-1.8.60 share/views/job_result/tsv.haml