mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Send test message from admin.
This commit is contained in:
@@ -18,6 +18,28 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="box box-default">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ 'send_test_email'|_ }}</h3>
|
||||
</div>
|
||||
<form action="{{ route('admin.test-message') }}" method="post">
|
||||
<div class="box-body">
|
||||
<p>
|
||||
{{ trans('firefly.send_test_email_text', {email:Auth.user.email})|raw }}
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-success">
|
||||
<i class="fa fa-envelope"></i> {{ ('send_message')|_ }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
5
resources/views/emails/admin-test-html.twig
Normal file
5
resources/views/emails/admin-test-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;">
|
||||
This is a test message from your Firefly III instance. It was sent to {{ email }}.
|
||||
</p>
|
||||
{% include 'emails.footer-html' %}
|
||||
3
resources/views/emails/admin-test-text.twig
Normal file
3
resources/views/emails/admin-test-text.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
{% include 'emails.header-text' %}
|
||||
This is a test message from your Firefly III instance. It was sent to {{ email }}.
|
||||
{% include 'emails.footer-text' %}
|
||||
Reference in New Issue
Block a user