Skip to content

Commit

Permalink
Clean up featured pitch partial for carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
Veez (Matt Remsik) and Stephen Caudill authored and veezus committed Feb 26, 2009
1 parent 6dc558e commit 73434bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 0 additions & 8 deletions app/views/homes/_featured_pitch.html.haml
@@ -1,9 +1,4 @@
%li.pitch_carousel
%h3.float-left{:style => "color: red;"}
%strong Help Fund this Story
.float-right
%span= link_to "View more Pitches »", news_items_path
.double_content_border.clear
.featured_image.span-220
= link_to image_tag(featured_pitch.featured_image.url(:medium)), featured_pitch
.double_content_border
Expand All @@ -23,6 +18,3 @@
= truncate_words(featured_pitch.short_description, 50)
=# h featured_pitch.short_description
= link_to 'Read More »', featured_pitch
%h5.quiet{:style=>"margin:0;"}
If you want to see this story researched, written, and published,
click donate to help fund it!
13 changes: 11 additions & 2 deletions app/views/homes/show.html.haml
Expand Up @@ -16,10 +16,19 @@
%p Text about making the first story
- else
#pitches_carousel
%h3.float-left{:style => "color: red;"}
%strong Help Fund this Story
.float-right
%span= link_to "View more Pitches »", news_items_path
.double_content_border.clear
%ul
= render :collection => @featured, :partial => 'featured_pitch'
%a.next next
%a.prev prev
.float-right
%a.next next
%a.prev prev
%h5.quiet{:style=>"margin:0;"}
If you want to see this story researched, written, and published,
click donate to help fund it!
.clear
- # spotus_ie_pixel.gif is an IE fix
%img{:src=>"../images/spotus_ie_pixel.gif"}
Expand Down

0 comments on commit 73434bc

Please sign in to comment.