Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (52 sloc) 2.418 kB
- content_for :title do
= @item.item_title
- content_for :meta_description do
= meta_description @item
- content_for :meta_image do
= meta_image @item.galleryable
- content_for :sub_nav do
= render_ad(:leaderboard, @ad_layout, @ad_leaderboard)
#left-col
- cache "#{@item.cache_key}_html" do
.panel-2#item-details
.add-this-wrap
= add_this @gallery
%h1= @item.item_title
.item-meta
%h6
= generic_posted_by @gallery
%span.moderator-links.hidden{:class => "user-#{@gallery.user.id}"}
- if @tags.present?
%h6== Tags: #{tag_list(@tags, @item)}
%p= sanitize @item.item_description
.panel-2
%ul.gallery-content.clearfix
%li.full-size-gallery-item= image_tag(@item.full_url, :alt => @item.item_title, :class => 'full-size')
.panel-2
- if @item.moderatable?
.mod-panel.clearfix
.float-right= render :partial => 'shared/moderate_form', :locals => { :moderatable => @item }
.float-left= render :partial => 'shared/flag_form', :locals => { :flaggable => @item }
.panel-2
%ul
%li=link_to('Back to Gallery', @gallery)
= render_ad(:banner, @ad_layout, @ad_banner)
.panel-2.comment-list
= render :partial => 'shared/comments', :locals => { :comments => @item.comments }
.panel-2.comment-form
= render :partial => 'shared/comment_form', :locals => { :commentable => @item }
- if @outbrain_item
= render :partial => 'shared/external/outbrain_wrapper'
= render :partial => 'shared/item_footer', :locals => { :item => @item,:title => @item.item_title }
#right-col
- if @sponsor_zone_code
= render :partial => 'shared/ads/sponsor_zone_wrapper'
- if @custom_sidebar_widget
= render :partial => 'shared/custom_widget', :locals => { :widget => @custom_sidebar_widget }
= render_ad(:small_square, @ad_layout, @ad_small_square)
- cache "#{@gallery.cache_key}_sidebar_html" do
= render :partial => 'shared/sidebar/bio', :locals => { :user => @gallery.user }
= render :partial => 'shared/sidebar/who_liked', :locals => { :item => @item }
= render :partial => 'shared/sidebar/gallery_voices', :locals => { :gallery => @gallery }
= render :partial => 'shared/sidebar/related_items', :locals => { :relatable => @item, :related_items => @item.related_items }
= render_ad(:skyscraper, @ad_layout, @ad_skyscraper)
Jump to Line
Something went wrong with that request. Please try again.