app/helpers/pages_helper.rb in kuhsaft-1.2.4 vs app/helpers/pages_helper.rb in kuhsaft-1.2.5
- old
+ new
@@ -58,11 +58,11 @@
def current_page_class page
:current if active_page_class(page) == :active
end
def read_more_link(id)
- link_to(id, :'data-toggle' => 'collapse', :'data-target' => id, :class => 'button button-read-more') do
- @content = content_tag(:p, t('.read_more'), :class => 'read-more-text')
- @content << content_tag(:p, t('.read_less'), :class => 'read-less-text')
+ link_to(id, :'data-toggle' => 'collapse', :'data-target' => id, :class => 'collapsed button button-read-more') do
+ @content = content_tag(:p, t('kuhsaft.text_bricks.text_brick.read_more'), :class => 'read-more-text')
+ @content << content_tag(:p, t('kuhsaft.text_bricks.text_brick.read_less'), :class => 'read-less-text')
end
end
end