Sha256: b2907032d891ee6fa5b70d44754b6f92b802275d07159670336f13995fcd8caa

Contents?: true

Size: 616 Bytes

Versions: 6

Compression:

Stored size: 616 Bytes

Contents

.comment.well id="comment#{comment.id}"
  - if comment.user.try(:avatar).present?
    = image_tag comment.user.avatar.url, class: "avatar", height: 50, width: 50
  - else
    = image_tag "dorsale/avatar.png", class: "avatar", height: 50, width: 50

  p
    - unless [@person, @individual, @corporation].include?(comment.commentable)
      strong = link_to comment.commentable.name, comment.commentable
      small.text-muted = " - "

    small.text-muted
      = l(comment.created_at)
      - if comment.user.present?
          = " by "
          = comment.user.name

  p.text = text2html(comment.text)

  .clearfix

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
customer_vault-1.3.2 app/views/customer_vault/people/_comment.html.slim
customer_vault-1.3.1 app/views/customer_vault/people/_comment.html.slim
customer_vault-1.3.0 app/views/customer_vault/people/_comment.html.slim
customer_vault-1.2.10 app/views/customer_vault/people/_comment.html.slim
customer_vault-1.2.9 app/views/customer_vault/people/_comment.html.slim
customer_vault-1.2.8 app/views/customer_vault/people/_comment.html.slim