Sha256: 0fa6d70d3099e83a5fe6ac42a61eab1967d908a1eb17e56f209c5f28738ed557
Contents?: true
Size: 993 Bytes
Versions: 5
Compression:
Stored size: 993 Bytes
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(' ')} .post_wrapper - unless headless .speaker = standard_gravatar_for(post.reader) .post_header - unless headless - if with_context %h2.reply = link_to post.topic.name, paginated_post_url(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} .post_body = clean_textilize(post.body) = render :partial => 'posts/attachments', :locals => {:post => post}
Version data entries
5 entries across 5 versions & 1 rubygems