1
0
Fork 0
forked from gitea/nas

Mailer header partial access cleanup (#32585)

This commit is contained in:
Matt Jankowski 2024-10-28 09:41:56 -04:00 committed by GitHub
parent b1d3c64525
commit 6f5eb22135
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 98 additions and 30 deletions

View file

@ -1,13 +1,13 @@
-# 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 defined?(heading_image_url)
- if image_url
%td.email-header-heading-img-td
= image_tag heading_image_url, alt: '', width: 56, height: 56
= image_tag image_url, alt: '', width: 56, height: 56
%td.email-header-heading-txt-td
- if defined?(heading_title)
%h1= heading_title
- if defined?(heading_subtitle)
%p= heading_subtitle
%h1= title
- if subtitle
%p= subtitle