Sha256: 382279a9d660ee0856bc2285729a288a5261b2b58a58fb891a7f83efbbfb11a6

Contents?: true

Size: 423 Bytes

Versions: 7

Compression:

Stored size: 423 Bytes

Contents

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

  p.infos
    - if comment.user.present?
      strong
        = comment.user.name

      br

    small.text-muted.right
      = "écrit le "
      = l(comment.created_at)

  p.text = text2html(comment.text)

  .clearfix

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dorsale-1.2.6 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.5 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.4 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.3 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.2 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.1 app/views/dorsale/comments/_comment.html.slim
dorsale-1.2.0 app/views/dorsale/comments/_comment.html.slim