Sha256: a9e78d4412775974275b80669c969f332e6d42fa62e4546e3a206663c15477ea

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 KB

Contents

= render :partial => 'tabs'
= render :partial => 'admin/sidebars/left_sidebar', :locals => { :icon_class => @file_type, :sidebar_title => "media.#{@file_type}.all", :tree_id =>"#{@file_type}-attachment-tree" }

#content.grid_12.alpha.omega
  .backgrounds.header
    = link_to content_tag(:span,I18n.t("media.#{@file_type}.create.action").capitalize, :class=>"big-icons add-#{@file_type}"), '#', :class => 'backgrounds action-button', :id => 'add-attachment'
    #search.right
      = link_to content_tag(:span, I18n.t('search').capitalize, :class => 'small-icons search-span'), '#', :class => 'small-icons left search-link'
    .backgrounds.search-form
  .content-background
  %table#table.datatable.draggable_rows

= dataTables_tag :url => forgeos_core.admin_attachments_path(:format => :json, :file_type => @file_type), :columns => ['{"sClass": "image_product_td", "bSortable": false }',"{ 'sTitle': '#{I18n.t('name').capitalize}' }","{ 'sTitle': '#{I18n.t('type').capitalize}' }","{ 'sTitle': '#{I18n.t('media.updated_at').capitalize}' }","{ 'sTitle': '#{I18n.t('media.size').capitalize}' }", "{'bVisible': false, 'sTitle': '#{I18n.t('media.used').capitalize}'}", "{ 'bSortable': false, 'bSearchable': false, 'sClass': 'actions-td'}",'{ "bVisible": false}','{ "bVisible": false}','{ "bVisible": false}']

= render :partial => 'attachments_popup', :locals => {:file_type => @file_type}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 app/views/admin/attachments/index.html.haml
forgeos_core-1.9.5.rc1 app/views/admin/attachments/index.html.haml
forgeos_core-1.9.4 app/views/admin/attachments/index.html.haml
forgeos_core-1.9.3 app/views/admin/attachments/index.html.haml
forgeos_core-1.9.2 app/views/admin/attachments/index.html.haml
forgeos_core-1.9.1 app/views/admin/attachments/index.html.haml