mastodon/app/views/application/mailer/_heading.html.haml
2024-10-28 13:41:56 +00:00

14 lines
563 B
Plaintext

-# locals: (title:, image_url: nil, subtitle: nil)
%table.email-w-full.email-header-heading-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
%td.email-header-heading-td
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
- if image_url
%td.email-header-heading-img-td
= image_tag image_url, alt: '', width: 56, height: 56
%td.email-header-heading-txt-td
%h1= title
- if subtitle
%p= subtitle