app/views/posts/show.html.haml in radiant-forum-extension-2.1.6 vs app/views/posts/show.html.haml in radiant-forum-extension-3.0.0.rc3
- old
+ new
@@ -1,31 +1,37 @@
-= render :partial => 'forums/standard_parts'
-
- content_for :messages do
= render :partial => 'post', :object => @post
+- content_for :context do
+ %p.context
+ = render :partial => 'posts/context'
+
- content_for :parent do
- = link_to @post.topic.name, forum_topic_url(@post.topic, @post.topic.forum)
+ = link_to_topic(@post.topic)
- content_for :breadhead do
- = link_to t('forum').titlecase + t('separator'), topics_url
- = link_to @post.topic.forum.name + t('separator'), forum_url(@post.topic.forum)
- = yield :parent
+ %span.breadhead
+ = link_to t('forum').titlecase, topics_url
+ = t('reader_extension.separator')
+ = link_to @post.topic.forum.name, forum_url(@post.topic.forum)
+ = t('reader_extension.separator')
+ = yield :parent
- content_for :person do
= standard_gravatar_for(@post.reader)
- content_for :title do
-if @post.page
- = t('comment_on') + @post.page.title
+ = t('forum_extension.comment_on') + @post.page.title
- elsif @post.first?
= @post.topic.name
- else
- = t('reply_to') + @post.topic.name
+ = t('forum_extension.reply_to') + @post.topic.name
- content_for :sidebar do
= render :partial => 'topics/latest'
+= render :partial => 'shared/standard_forum_parts'
+.forum
+ = yield :messages
-#forum
- = yield :messages
\ No newline at end of file