Sha256: 450af55dd3908f80ec9d32e37ad6858fde2302e2f07ab6f5cf6c922f763b33db

Contents?: true

Size: 649 Bytes

Versions: 2

Compression:

Stored size: 649 Bytes

Contents

.post{ id: @id }
  - note = @note
  .user-block
    %img.img-circle.img-bordered-sm{ alt: "Avatar", src: image_path(user_image_path(@avatar_url)), title: @poster }
    - if tools?
      .float-right
        = tools
         
    %span.username
      - if @poster.is_a?(String)
        = @poster
      - else
        = link_to @poster, @poster
    %span.description
      %i.fas.fa-clock
      posted #{@posted.to_fs}
      - if @updated.present? && @updated != @posted
        , updated #{time_ago_in_words(@updated)} ago
  %p
    - if content?
      = content
    - elsif @text
      = simple_format(@text)
    - else 
      %i No text entered

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.1.2.39 app/components/olivander/components/post_component.html.haml
five-two-nw-olivander-0.1.2.38 app/components/olivander/components/post_component.html.haml