Sha256: 008e9cc04e9ef7bd7803b6bb4fc8d7a2ac3b385f3d85cb8ef83d276776adde88

Contents?: true

Size: 538 Bytes

Versions: 3

Compression:

Stored size: 538 Bytes

Contents

- if list.empty?
  .sitemap_links_info.notice
    %p
      This resource is not in the sitemap.
      %a{:href => add_route_link + '/' + slug_me} Add one?
- else
  .sitemap_links_info.success
    %h4 Current Route: #{route_to(list.first)} #{list.size > 1 ? '(and ' + (list.size - 1).to_s + ' others)' : ''}
    %a.more_info{:href=>'#'} More Info
    .sitemap_links{:style => 'display:none'}
      - for obj in list
        .sitemap_link
          %span Path: #{route_to(obj)}
      %a{:href => add_route_link + '/' + slug_me} Add another?

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orange-more-0.7.3 lib/orange-more/sitemap/views/sitemap/sitemap_links.haml
orange-more-0.7.2 lib/orange-more/sitemap/views/sitemap/sitemap_links.haml
orange-more-0.7.1 lib/orange-more/sitemap/views/sitemap/sitemap_links.haml