Sha256: b20f45c204b0cc03a39ba99890229afa5641b8f85674025376911d659bdf79b6
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
- if model .sitemap_item{:class => "sitemap_level_#{model.level}"} - if model.level > 0 .move_actions.dent_actions = form_link('Outdent', route_to(model_name, model.id, 'outdent'), false, {:method => 'post', :class => 'outdent arrow'}) if model.level > 1 %p= ' ' .move_actions - if model.previous_sibling = form_link('Up', route_to(model_name, model.id, 'higher'), false, {:method => 'post', :class => 'up arrow'}) - else %p.disabled_up.arrow= ' ' - if model.next_sibling = form_link('Down', route_to(model_name, model.id, 'lower'), false, {:method => 'post', :class => 'down arrow'}) - else %p.disabled_down.arrow= ' ' .move_actions.dent_actions = form_link('Indent', route_to(model_name, model.id, 'indent'), false, {:method => 'post', :class => 'indent arrow'}) if model.previous_sibling && model.previous_sibling.level == model.level %p= ' ' %h4 #{orange[:sitemap].link_text_for(item)} <span>(#{model.full_path})</span> .linked_to %p Linked to: %a{:href => model.resource.blank? ? '#' : route_to(model.resource, model.resource_id, 'edit')} [#{model.resource}] ##{model.resource_id} %p Views: = orange[:analytics].pageviews(route.full_path) .actions = form_link('Delete', route_to(model_name, model.id, 'delete'), 'Are you sure you want to delete this?', {:method => 'delete'}) %a{:href => route_to(model_name, model.id, 'edit')} Edit %br.clear
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orange-0.3.2 | lib/orange-more/sitemap/views/sitemap/table_row.haml |