app/views/forums/index.html.haml in radiant-forum-extension-2.1.6 vs app/views/forums/index.html.haml in radiant-forum-extension-3.0.0.rc3
- old
+ new
@@ -1,42 +1,40 @@
-= render :partial => 'forums/standard_parts'
-
- content_for :title do
- = t('forums_heading')
+ = t('forum_extension.forums_heading')
- content_for :introduction do
%p
- = t('forums_introduction')
+ = t('forum_extension.forums_introduction')
- content_for :sidebar do
= render :partial => 'posts/search_form', :locals => {:minimal => true}
= render :partial => 'topics/latest'
= render :partial => 'topics/busiest'
- content_for :messages do
- if @forums.empty?
%p
- = t('no_forums')
+ = t('forum_extension.no_forums')
- else
= yield :pagination if @forums.previous_page
= render :partial => 'forums/forum', :collection => @forums
= yield :pagination if @forums.next_page
- content_for :pagination do
- = pagination_and_summary_for(@forums, t('forum'))
+ = pagination_and_summary_for(@forums, t('forum_extension.forum'))
- content_for :feedurl do
= forums_path(:format => :rss)
- content_for :feedlink do
= feed_link(forums_path(:format => :rss))
- content_for :breadcrumbs do
- = link_to t('forum').titlecase, topics_url
- = t('separator')
+ = link_to t('forum_extension.forum').titlecase, topics_url
+ = t('reader_extension.separator')
= yield :title
+= render :partial => 'shared/standard_forum_parts'
-
-#forum
+.forum
= yield :messages
= yield :newtopic