mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Send mail message when cron has hit.
This commit is contained in:
32
resources/views/emails/report-new-journals-html.twig
Normal file
32
resources/views/emails/report-new-journals-html.twig
Normal file
@@ -0,0 +1,32 @@
|
||||
{% include 'emails.header-html' %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
{% if journals.count == 1 %}
|
||||
Firefly III has created a transaction for you.
|
||||
{% endif %}
|
||||
{% if journals.count > 1 %}
|
||||
Firefly III has created {{ journals.count }} transactions for you.
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
||||
{% if journals.count == 1 %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
You can find in in your Firefly III installation:
|
||||
{% for journal in journals %}
|
||||
<a href="{{ route('transactions.show', journal.id) }}">{{ journal.description }}</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if journals.count > 1 %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
You can find them in your Firefly III installation:
|
||||
</p>
|
||||
<ul>
|
||||
{% for journal in journals %}
|
||||
<li><a href="{{ route('transactions.show', journal.id) }}">{{ journal.description }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% include 'emails.footer-html' %}
|
25
resources/views/emails/report-new-journals-text.twig
Normal file
25
resources/views/emails/report-new-journals-text.twig
Normal file
@@ -0,0 +1,25 @@
|
||||
{% include 'emails.header-text' %}
|
||||
{% if journals.count == 1 %}
|
||||
Firefly III has created a transaction for you.
|
||||
|
||||
{% endif %}
|
||||
{% if journals.count > 1 %}
|
||||
Firefly III has created {{ journals.count }} transactions for you.
|
||||
{% endif %}
|
||||
{% if journals.count == 1 %}
|
||||
You can find in in your Firefly III installation:
|
||||
|
||||
{% for journal in journals %}
|
||||
{{ journal.description }}: {{ route('transactions.show', journal.id) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if journals.count > 1 %}
|
||||
You can find them in your Firefly III installation:
|
||||
|
||||
{% for journal in journals %}
|
||||
- {{ journal.description }}: {{ route('transactions.show', journal.id) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'emails.footer-text' %}
|
Reference in New Issue
Block a user