Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Extended caption length for VOs

  • Loading branch information...
commit 82dafd6592e4f5dba4d219ee303d75d256c5dae9 1 parent b66bf48
@adahmash adahmash authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/helpers/template_helper.rb
View
6 app/helpers/template_helper.rb
@@ -91,7 +91,7 @@ def featured_item item, extra_options = {}
content << content_tag(:div, :class => "feature-caption") do
nested_content = content_tag(options[:title_tag], link_to(item.item_title, item.item_link))
if options[:description]
- nested_content << content_tag(:p, item.item_description[0,100])
+ nested_content << content_tag(:p, item.item_description[0,130])
end
nested_content
end
@@ -159,7 +159,7 @@ def featured_item_list_item item, extra_options = {}
content_tag(:li, :class => options[:class]) do
content = content_tag(options[:title_tag], link_to(item.item_title, item.item_link))
- content << content_tag(:p, item.item_description[0,100]) if options[:item_description]
+ content << content_tag(:p, item.item_description[0,130]) if options[:item_description]
content << content_tag(:h6, posted_by_with_date_and_topic(item)) unless options[:profile_disabled]
content
end
@@ -197,7 +197,7 @@ def double_col_item_list_item item, extra_options = {}
item_image_content << content_tag(:div, :class => 'content') do
description = (options[:raw] || item.is_a?(Article)) ? raw(item.item_description) : item.item_description # yuck...
content = content_tag(options[:title_tag], link_to(item.item_title, item.item_link))
- content << content_tag(:p, description[0,100])
+ content << content_tag(:p, description[0,130])
content << item_meta_profile(item)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.