Sha256: f6ad4b4dbd430ed2d78f0282f737264f254ab7c5afa8d0f876e6ea565a1f6254

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 KB

Contents

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

    h1.page-header
      = Comable.t('admin.nav.theme')
      small<
        | #{@themes.size} #{Comable.t('admin.results')}

  .comable-page-body
    - if @themes.empty?
      = Comable.t('admin.not_found')
    - else
      table.table.table-striped
        thead
          th
            = @themes.klass.human_attribute_name(:name)
          th
            = @themes.klass.human_attribute_name(:version)
          th
            = @themes.klass.human_attribute_name(:author)
        tbody
          - @themes.each do |theme|
            tr
              td
                = link_to theme.display_name, comable.tree_admin_theme_path(theme)
                - if current_store.theme != theme
                  span.fa.fa-eye-slash.text-muted<
              td
                = theme.version
              td
                - if theme.homepage
                  = link_to (theme.author.presence || theme.homepage), theme.homepage
                - else
                  = theme.author

Version data entries

6 entries across 6 versions & 2 rubygems

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