Sha256: 15fe60c44190c7942aefc753f557d12805acabbdd0b730110d28829116366d7b

Contents?: true

Size: 1.43 KB

Versions: 34

Compression:

Stored size: 1.43 KB

Contents

%tr
  %td
    %h1
      = @comment.author_name
      = t('workarea.admin.comment_mailer.notify.posted_a_comment_about')
      = @commentable.name

      %p
        = @comment.body
        %br
        - if @comment.author.present?
          = t('workarea.admin.comment_mailer.notify.by')
          = link_to @comment.author_name, edit_user_url(@comment.author)
      %p
        = t('workarea.admin.comment_mailer.notify.posted_at')
        = @comment.created_at.to_s(:long)
        = link_to t('workarea.admin.comment_mailer.notify.reply_to_this_comment'), commentable_comments_url(@commentable.to_global_id)

      - if @comments.any?
        %h2= t('workarea.admin.comment_mailer.notify.discussion_history')

        - @comments.each_with_index do |comment, i|
          %p
            = comment.body
            %br
            - if comment.author.present?
              = t('workarea.admin.comment_mailer.notify.by')
              = link_to comment.author_name, edit_user_url(comment.author)
          %p
            = t('workarea.admin.comment_mailer.notify.posted_at')
            = comment.created_at.to_s(:long)

      - if @comments.length > 5
        %p= link_to t('workarea.admin.comment_mailer.notify.post_a_comment'), commentable_comments_url(@commentable.to_global_id)

      %p= link_to t('workarea.admin.comment_mailer.notify.unsubscribe_from_notifications', commentable_name: @commentable.name), commentable_unsubscribe_url(@commentable.to_global_id)

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.27 app/views/workarea/admin/comment_mailer/notify.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/comment_mailer/notify.html.haml