Sha256: 03ff4d80b6b9f6302c794c64a772d30b3640d255f4e28801ae94be665a98874d
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
- id = locals.include?(:task) ? "results_tsv_table_#{locals[:task]}" : "NONE" - klass = "results_tsv_table" - rows, total = process_result(result, locals) - if result.key_field == "ID" - header = result.fields - else - header = result.all_fields - if rows.type == :single - rows = rows.collect{|k,v| [k, NamedArray.setup([k].push(v), header, k, result.namespace)]} - else - rows = rows.collect{|k,v| [k, NamedArray.setup([k].concat(v), header, k, result.namespace)]} = workflow_partial('partials/_table', workflow, task, locals.merge(:header => header, :id => id, :klass => klass, :rows => rows, :total => total))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbbt-views-1.0.0 | share/views/partials/_result_table.haml |