Sha256: 9a0290d462aa54e48dbbdc9c16a12b7e1e7c92f8fdfd0ce761c20670aef43b39

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 KB

Contents

%td.move
  .move-container
    %div.page-listing-cell.move-controls= orange[:sitemap].route_actions(packet, :model => route)
    - if (route.level > 0 && route.children.count > 0)
      %div.page-listing-expand
        %a.expand{:href => "#"}
          %img{:src => "/assets/_sparkles_/images/page-listing-expand.png", :border => "0"}
    - else
      %div.page-listing-expand
         
%td
  %div.page-listing-title.page-listing-page
    %a{:href => route_to(model_name, model.id, "edit")}
      - if(route.show_in_nav)
        %strong= route.link_text
      - else
        %em= route.link_text
     
    %a.page-listing-more-info{:href => "#"}
      Extras...
    %div.page-listing-extras
      .menu-link
        Menu Link Text: 
        %span.last-uri-segment><
          %a{:href => route_to(:sitemap, route.id, :edit)}= route.link_text
      %div.page-listing-location
        Current Location:&nbsp; 
        %span.last-uri-segment><
          = route.full_path
      .menu-toggle
        Show in Menu:&nbsp;
        = button("Yes", route_to(:sitemap, route.id, :show_in_nav), :css_class => route.show_in_nav ? "white-button" : "grey-button")
        = button("No", route_to(:sitemap, route.id, :unshow_in_nav), :css_class => !route.show_in_nav ? "white-button" : "grey-button")
    %div.page-listing-excerpt
      = model.body.blank? ? "" : model.body[0..100]
%td
  %div.page-status
    %div.page-listing-status
      &nbsp;
%td
  %div.page-listing-actions
    %a.button.grey-button.preview-button{:href => route.full_path, :target => "_blank", :rel => "colorbox"}
      Preview
    = delete_button(route_to(model_name, model.id, "delete"))
    %a.button.grey-button.move-button{:href => "#"}
      Move

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-sparkles-0.7.1 lib/orange-sparkles/views/default_resource/sitemap_row.haml
orange-sparkles-0.7.0 lib/orange-sparkles/views/default_resource/sitemap_row.haml
orange-sparkles-0.5.9 lib/orange-sparkles/views/default_resource/sitemap_row.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/default_resource/sitemap_row.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/default_resource/sitemap_row.haml