Sha256: 70dd5a7d0790c9ce2ea08cd91fa35bf5dfb358f22432440cd7b1fcf0da4313ba
Contents?: true
Size: 1.81 KB
Versions: 6
Compression:
Stored size: 1.81 KB
Contents
- index ||= local_assigns[:index] - render_seo index .asset.clearfix{:id => index.name} %h1.title=index.title.titleize - if admin_signed_in? %p.asset-admin = link_to "Edit Page", edit_index_path(index.id), :rel=>"#overlay", :class => "overlayed" = link_to("Remove Page", index, :confirm => 'Are you sure?', :method => :delete) if index.owner.is_a?(Gallery) = render :partial => 'shared/asset_show', :collection => index.assets, :as => :asset - if admin_signed_in? .asset %p.asset-admin = link_to "Add Text", new_index_text_path(index.id), :rel=>"#overlay", :class => "overlayed" = link_to "Add Photo", new_index_photo_path(index.id), :rel=>"#overlay", :class => "overlayed" = link_to "Add Video", new_index_video_path(index.id), :rel=>"#overlay", :class => "overlayed" = link_to "Add Downloadable File", new_index_downloadable_path(index.id), :rel=>"#overlay", :class => "overlayed" = link_to "Add Gallery", index_gallery_path(index.id), :method => :post if (index.gallery.nil? && !index.owner.is_a?(Gallery)) - unless index.gallery.nil? =content_for(:gallery) do - if admin_signed_in? .asset %p.asset-admin = link_to "Add Gallery Page", new_gallery_index_path(index.gallery.id), :rel=>"#overlay", :class => "overlayed" = link_to "Remove Gallery", index_gallery_path(index), :method => :delete, :confirm => "Are you sure?" = render(:partial => "galleries/show", :object => index.gallery.indices, :as => :indices) unless index.gallery.indices.empty? - if(request.xhr?) .content_for.hidden #content_for_gallery =@view_flow.get(:gallery) #content_for_title =@view_flow.get(:title) #content_for_keywords =@view_flow.get(:keywords) #content_for_page_description =@view_flow.get(:page_description)
Version data entries
6 entries across 6 versions & 1 rubygems