Sha256: b92bd4e20108ad0555d18e2c8329247c4ab92f139187934dbc726a1c880db72a

Contents?: true

Size: 1.47 KB

Versions: 9

Compression:

Stored size: 1.47 KB

Contents

- if definitions.any?
  table.table.table-hover.sortable
    thead
      tr
        th #
        th.col-md-3 Name
        th.col-md-2 Next Job
        th.col-md-1 Latest Status
        th.col-md-5 data-defaultsort='disabled' Tags / Description
        th.col-md-1 data-defaultsort='disabled'  
    tbody
      - for definition in definitions
        tr
          td= definition.id
          td.no-decorate
            - if definition.suspended
              span.label.label-warning.spacer-right-3 SUSPENDED
            = link_to definition.name, definition
          - if !definition.suspended? && !definition.job_schedules.empty?
            - next_job_schedule = definition.job_schedules.map(&:next).min
            - if next_job_schedule
              td data-value=next_job_schedule.to_i = l(next_job_schedule, format: :short)
            - else
              td data-value="9999999999" --
          - else
            td data-value="9999999999" --
          td= labeled_status(definition.job_instances.take)
          td
            - definition.tags.each do |tag|
              =link_to tag.name, { 'tag': [tag.name] }, class: 'label label-default spacer-right-3'
            = first_line(definition.description)
          td
            = link_to definition, class: 'btn btn-sm btn-default' do
              i class="fa fa-chevron-right"
              |  
              span class="small" View Details

- else
  .text-muted.well.well-sm.no-shadow There are no favorite job definitions.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuroko2-0.8.0 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.7.0 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.6.0 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.5.2 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.5.1 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.5.0 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.4.6 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.4.5 app/views/kuroko2/job_definitions/_list.html.slim
kuroko2-0.4.4 app/views/kuroko2/job_definitions/_list.html.slim