Sha256: 3476c52f4bb31c26ab60221dd5d0b825770f7ccd89b254860d656c4cebbcb2cf

Contents?: true

Size: 875 Bytes

Versions: 1

Compression:

Stored size: 875 Bytes

Contents

%table.table.table-condensed.table-striped
  %thead
    %tr
      %th Host
      %th Last pod started
      %th Commands
      %th
  %tbody
    - @nodes.each do |node|
      %tr
        %td= node.hostname
        %td
          - if started_at = node.last_started_at
            = time_ago_in_words(started_at)
            ago
        %td
          %table.table.table-condensed.table-striped.table-bordered
            %tbody
              - node.commands_phases.each do |command, phases|
                %tr
                  %td= humanize_image(command.image)
                  %td= command.expression
                  %td= phases.length
                  %td
                    - uniq_phases = phases.uniq
                    - if uniq_phases.length == 1
                      = uniq_phases.first
                    - else
                      = phases.sort.join(', ')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhea-0.2.0 app/views/rhea/nodes/index.html.haml