Sha256: 20a421ac185cee03b30beba4199d4a114dd7fea4df9e40a0fac605ebd9ae2bd0

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 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-blog
    %a{:href => route_to(model_name)}
      - 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
      = "Nothing here."
%td
  %div.page-status
    %div.page-listing-status
      %a.button.status-published Published
%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/news/sitemap_row.haml
orange-sparkles-0.7.0 lib/orange-sparkles/views/news/sitemap_row.haml
orange-sparkles-0.5.9 lib/orange-sparkles/views/news/sitemap_row.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/news/sitemap_row.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/news/sitemap_row.haml