Sha256: ca627c8eaa9add3afd5b0d99b4b7783787f0dddb23c34242af264907bc6ac6c2

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

Contents

.comable-page
  .comable-page-heading
    ul.pull-right.list-inline
      li
        = link_to Comable.t('admin.actions.new'), comable.new_admin_tracker_path, class: 'btn btn-default'

    h1.page-header
      = Comable.t('admin.nav.tracker')
      small<
        | #{@trackers.total_count} #{Comable.t('admin.results')}

  .comable-page-body
    - if @trackers.empty?
      = Comable.t('admin.not_found')
    - else
      table.table.table-striped
        thead
          th
            = @trackers.klass.human_attribute_name(:name)
          th
            = @trackers.klass.human_attribute_name(:tracker_id)
          th
            = @trackers.klass.human_attribute_name(:place)
        tbody
          - @trackers.each do |tracker|
            tr
              td
                = link_to tracker.name, comable.admin_tracker_path(tracker)
                - unless tracker.activated_flag
                  span.fa.fa-eye-slash.text-muted<
              td
                = tracker.tracker_id
              td
                = tracker.place.text

      .text-center
        = paginate @trackers, theme: :comable_backend

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
comable-backend-0.7.1 app/views/comable/admin/trackers/index.slim
comable-backend-0.7.0 app/views/comable/admin/trackers/index.slim
comable-backend-0.7.0.beta2 app/views/comable/admin/trackers/index.slim
comable-backend-0.7.0.beta1 app/views/comable/admin/trackers/index.slim
comable-backend-0.6.0 app/views/comable/admin/trackers/index.slim
comable_backend-0.5.0 app/views/comable/admin/trackers/index.slim
comable_backend-0.4.2 app/views/comable/admin/trackers/index.slim
comable_backend-0.4.1 app/views/comable/admin/trackers/index.slim