Sha256: 2112791f7c0e0da427c87bd26c9594551c9af581aa5739cb7ad74fcc3b5537c4
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
- post ||= @post - first ||= post.first? - with_context ||= false - headless ||= first unless defined? headless - cssclasses = [] - cssclasses << 'first' if post.first? - cssclasses << 'reply' unless post.first? - cssclasses << 'deleted' if post.frozen? .post{:id => post.dom_id, :class => cssclasses.join(' ')} - unless headless = standard_gravatar_for(post.reader) .post_header - unless headless - if with_context %h2.reply - if post.comment? = t('forum_extension.comment_on') -elsif post.reply? = t('forum_extension.reply_to') = link_to_post(post) - else %h2 = post.reader.name %p.context - if with_context = render :partial => 'posts/context', :locals => {:post => post} = friendly_date(post.created_at) + '.' = render :partial => 'posts/edit_links', :locals => {:post => post} .wrapper .post_body = clean_html(post.body) = render :partial => 'posts/attachments', :locals => {:post => post}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-forum-extension-3.0.0.rc6 | app/views/posts/_post.html.haml |