ui: add email request ip

pull/271/head
undefined 3 years ago
parent 0934f79cfc
commit 55cde825d6

@ -29,6 +29,9 @@
background: #bbb;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
html
overflow-y: overlay;
.main
padding: rem(55px 0)
flex: 1

@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.26.25",
"version": "4.26.26",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",

@ -24,6 +24,7 @@ body, .hydro { margin:0;color:#333;font-size:14px;font-family:"Tahoma","Segoe UI
</div>
<div class="hydro-footer">
<p>{{ _('This email was sent by {0} automatically, and please do not reply directly.').format('<a href="' + url_prefix + '/" target="_blank">' + model.system.get('server.name') + '</a>')|safe }}</p>
<p>{{ _('This email was requested from {0}').format(handler.request.ip) }}
</div>
</div>
</div>

Loading…
Cancel
Save