diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2025-01-28 14:02:51 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2025-01-28 14:02:51 +0000 |
| commit | 85b3e6b63d161e5fe4d91ce3958b09a3d18b0493 (patch) | |
| tree | e416bc729026e653d5cc468d55572c77e5cf57d7 /templates/mail | |
| parent | 7e802d0608616b5ea0c5b912f6eceafc1e7d79e0 (diff) | |
Resolve "Mailbenachrichtigungen: Logo ist noch nicht hi-dpi"
Closes #4474
Merge request studip/studip!3349
Diffstat (limited to 'templates/mail')
| -rw-r--r-- | templates/mail/html.php | 11 | ||||
| -rw-r--r-- | templates/mail/notification_html.php | 8 |
2 files changed, 14 insertions, 5 deletions
diff --git a/templates/mail/html.php b/templates/mail/html.php index 1987333..acf64b9 100644 --- a/templates/mail/html.php +++ b/templates/mail/html.php @@ -50,9 +50,12 @@ } .studip-mail header .studip-mail-header-logo { + height: 45px; + margin-bottom: 25px; margin-left: auto; margin-right: auto; - width: 100%; + margin-top: 25px; + width: 130px; } .studip-mail header .studip-mail-sndrec { @@ -81,8 +84,9 @@ <article class="studip-mail"> <header> <div class="studip-mail-header-logo" > - <img alt="" width="130" height="92" src="cid:studiplogo"> + <img alt="" src="cid:studiplogo" width="130" height="45"> </div> + <br> <p class="studip-mail-sndrec"> <?php if ($snd_fullname) : ?> <?= sprintf(_('%1$s hat Ihnen eine Nachricht in Stud.IP geschickt.'), @@ -115,8 +119,9 @@ <?php endif ?> </section> <footer> + <br> <?= sprintf( - _('Diese E-Mail ist eine Kopie einer systeminternen Nachricht, die in Stud.IP an %1$s (%2$s) versendet wurde.'), + _('Diese E-Mail ist eine Kopie einer systeminternen Nachricht,<br>die in Stud.IP an %1$s (%2$s) versendet wurde.'), htmlReady($rec_fullname), htmlReady($rec_username) ) diff --git a/templates/mail/notification_html.php b/templates/mail/notification_html.php index b1cbdee..960740b 100644 --- a/templates/mail/notification_html.php +++ b/templates/mail/notification_html.php @@ -49,9 +49,12 @@ } .studip-mail header .studip-mail-header-logo { + height: 45px; + margin-bottom: 25px; margin-left: auto; margin-right: auto; - width: 100%; + margin-top: 25px; + width: 130px; } .studip-mail header .studip-mail-sndrec { @@ -80,8 +83,9 @@ <article class="studip-mail"> <header> <div class="studip-mail-header-logo" > - <img alt="" width="130" height="92" src="cid:studiplogo"> + <img alt="" src="cid:studiplogo" width="130" height="45"> </div> + <br> <p class="studip-mail-sndrec"> <?= sprintf( _('Stud.IP hat eine automatische Systemnachricht für Sie.'), |
