Sha256: ac49f0ec3c85bd559d77cfe28ee1dcd4b396564d909c3d416388a14f740ff288

Contents?: true

Size: 1.67 KB

Versions: 3

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("blog_posts")}
      - if(route.show_in_nav)
        %strong= model.title
      - else
        %em= model.title
     
    %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 yet"
%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

3 entries across 3 versions & 1 rubygems

Version Path
orange-sparkles-0.5.9 lib/orange-sparkles/views/blog/sitemap_row.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/blog/sitemap_row.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/blog/sitemap_row.haml