about summary refs log tree commit diff
path: root/app/views/notification_mailer/_status.html.haml
blob: 1e796ed2940cd47f06e13a6cf2a931c56ff693f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- i ||= 0

%table.email-table{ cellspacing: 0, cellpadding: 0 }
  %tbody
    %tr
      %td.email-body
        .email-container
          %table.content-section{ cellspacing: 0, cellpadding: 0 }
            %tbody
              %tr
                %td.content-cell{ class: i.zero? ? 'content-start' : nil }
                  .email-row
                    .col-6
                      %table.column{ cellspacing: 0, cellpadding: 0 }
                        %tbody
                          %tr
                            %td.column-cell.padded.status
                              %table.status-header{ cellspacing: 0, cellpadding: 0 }
                                %tbody
                                  %tr
                                    %td{ align: 'left', width: 48 }
                                      = image_tag status.account.avatar
                                    %td{ align: 'left' }
                                      %bdi= display_name(status.account)
                                      = "@#{status.account.acct}"

                              = Formatter.instance.format(status)

                              %p.status-footer
                                = link_to l(status.created_at), web_url("statuses/#{status.id}")