mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
First set of code for #461
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{# send email messages #}
|
||||
|
||||
<!-- configuration setting block -->
|
||||
<!--
|
||||
@@ -70,6 +71,26 @@
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
<div class="row">
|
||||
{# send email messages about stuff: #}
|
||||
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
|
||||
<div class="box box-default">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ 'setting_send_email_notifications'|_ }}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<p class="text-info">
|
||||
{{ 'setting_send_email_explain'|_ }}
|
||||
</p>
|
||||
{{ ExpandedForm.checkbox('mail_for_lockout','1', sendErrorMessage.mail_for_lockout) }}
|
||||
{{ ExpandedForm.checkbox('mail_for_blocked_domain','1', sendErrorMessage.mail_for_blocked_domain) }}
|
||||
{{ ExpandedForm.checkbox('mail_for_blocked_email','1', sendErrorMessage.mail_for_blocked_email) }}
|
||||
{{ ExpandedForm.checkbox('mail_for_bad_login','1', sendErrorMessage.mail_for_bad_login) }}
|
||||
{{ ExpandedForm.checkbox('mail_for_blocked_login','1', sendErrorMessage.mail_for_blocked_login) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
|
||||
|
5
resources/views/emails/blocked-bad-creds-html.twig
Normal file
5
resources/views/emails/blocked-bad-creds-html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% include 'emails.header-html' %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
Firefly III has just blocked a login from user with email "{{ email }}" because they supplied bad credentials.
|
||||
</p>
|
||||
{% include 'emails.footer-html' %}
|
3
resources/views/emails/blocked-bad-creds-text.twig
Normal file
3
resources/views/emails/blocked-bad-creds-text.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
{% include 'emails.header-text' %}
|
||||
Firefly III has just blocked a login from user with email "{{ email }}" because they supplied bad credentials.
|
||||
{% include 'emails.footer-text' %}
|
5
resources/views/emails/locked-out-html.twig
Normal file
5
resources/views/emails/locked-out-html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% include 'emails.header-html' %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
Firefly III has just locked out somebody trying to login with email address {{ email }}.
|
||||
</p>
|
||||
{% include 'emails.footer-html' %}
|
3
resources/views/emails/locked-out-text.twig
Normal file
3
resources/views/emails/locked-out-text.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
{% include 'emails.header-text' %}
|
||||
Firefly III has just locked out somebody trying to login with email address {{ email }}.
|
||||
{% include 'emails.footer-text' %}
|
Reference in New Issue
Block a user