Sha256: 1221f779ae454a5785b49a0378a132a7b08efe94904a84a254cd177fd45f1da6

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 KB

Contents

#menuLinkTypeDialog.media-hoverlay
  #inner-lightbox.backgrounds
    = link_to_function ExternalLink.human_name, "toggleSelectedOverlay('#inner-lightbox.backgrounds .external'); toggle_menu_types_overlays('external-link')", :class => "small-icons external selected"
    = link_to_function PageLink.human_name, "toggleSelectedOverlay('#inner-lightbox.backgrounds .page'); update_current_dataTable_source('#table-files','#{escape_javascript(forgeos_cms.admin_pages_path(:mode => 'menu_link',:format => :json))}'); toggle_menu_types_overlays('target-link');", :class => "small-icons page"
    = link_to_function ProductLink.human_name, "toggleSelectedOverlay('#inner-lightbox.backgrounds .product'); update_current_dataTable_source('#table-files','#{escape_javascript(forgeos_commerce.admin_products_path(:mode => 'menu_link',:format => :json))}'); toggle_menu_types_overlays('target-link')", :class => "small-icons product"
    = link_to_function CategoryLink.human_name, "toggleSelectedOverlay('#inner-lightbox.backgrounds .category'); update_current_dataTable_source('#table-files','#{escape_javascript(forgeos_core.admin_categories_path(:types => ['page', 'product'], :mode => 'menu_link', :format => :json))}'); toggle_menu_types_overlays('target-link')", :class => "small-icons category"

  .media-hoverlay-header
    #search.right.files
      = fg_search
    .backgrounds.search-form-files

  .media-hoverlay-content
    #target-link{:style => 'display: none'}
      %table#table-files.datatable.media.selectable_rows
        %tr
          %td
    #external-link
      %label= "#{t(:url).capitalize} :"
      = text_field_tag "url", '', :id => "overlay-url"

= dataTables_tag :id => 'table-files', :url => forgeos_cms.admin_pages_path(:format => :json, :mode => 'menu_link'), :columns => ["{'sClass':'th-checkbox-container', 'bSortable': false }","{ 'sTitle': '#{I18n.t(:name)}'}","{'bVisible': false}", "{'bVisible': false}"], :autostart => false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/menus/_types_popups.html.haml
forgeos_commerce-1.9.0 app/views/admin/menus/_types_popups.html.haml