Sha256: ae16263dce96ec313c6df926fb33e9638d9bf1d1fd61266358ed236285379026

Contents?: true

Size: 1.8 KB

Versions: 16

Compression:

Stored size: 1.8 KB

Contents

.page-controls
  link-to 'channels.new' class='btn btn-primary'
    t 'channels.index.new'

= partial 'channels/search-form'

.nav-tabs-custom
  ul.nav.nav-tabs
    = link-to 'channels.tab' tagName='li'
      a href="#"
        t 'channels.index.tabs.all'

    view 'Dashboard.SearchTab' routeName='channels.search'

  table.table.table-hover
    thead
      tr
        th
          t 'channels.index.table.name'
        th
          t 'channels.index.table.permalink'
        th
          t 'channels.index.table.created_at'
        th
          t 'channels.index.table.state'
        th
    tbody
      each channel in model
        tr
          td
            a href=channel.html_url target='blank'
              = channel.name
          td
            = channel.permalink
          td
            format-date channel.created_at
          td
            .dropdown
              a.btn.btn-xs.dropdown-toggle data-toggle='dropdown' class=channel.state
                = channel.state
                span.caret
              ul.dropdown-menu.dropdown-menu-right
                if channel.visible
                  li
                    a{action 'changeState' channel 'push_to_draft'} href='#' tabindex='-1'
                      t 'channels.index.actions.push_to_draft'
                else
                  li
                    a{action 'changeState' channel 'push_to_online'} href='#' tabindex='-1'
                      t 'channels.index.actions.push_to_online'

          td
            .text-right
              = link-to 'channels.edit' channel.id
                i.fa.fa-edit
              |  
              a{action 'destroy' channel} href='#'
                i.fa.fa-trash-o
      else
        tr
          td.no-results colspan='5'
            t 'words.no_results'

  if model
    .pagination-wrapper-button
      pagination

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.1.4 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.1.3 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.1.2 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.1.1 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.1.0 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.9 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.8 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.7 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.6 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.5 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.4 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.3 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.2 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.1 app/assets/javascripts/templates/channels/index.emblem
dune-dashboard-1.0.0 app/assets/javascripts/templates/channels/index.emblem