mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 19:20:55 +00:00
- Fixes for construct_absolute_url function
- Refactor notification email generation - Update template file - Add separate templates folder for email
This commit is contained in:
@ -1,30 +0,0 @@
|
||||
{% load i18n %}
|
||||
|
||||
<p>{% trans "Hi, " %} {{ part_name }} {% trans "is low on stock. Kindly do the needful." %}</p>
|
||||
|
||||
<table style="border-collapse:collapse; width: 80%;margin-left: 10%; font-size: 1rem">
|
||||
|
||||
<tr style="background: aliceblue; height: 4rem;">
|
||||
<th colspan="3" style="padding-bottom: 1rem; font-size: 1.5rem; color:rgb(210,0, 0)">{% trans "Part low on stock" %}</th>
|
||||
</tr>
|
||||
|
||||
<tr style="height: 3rem; border-bottom: 1px solid">
|
||||
<th>{% trans "Part Name" %}</th>
|
||||
<th>{% trans "Available Quantity" %}</th>
|
||||
<th>{% trans "Minimum Quantity" %}</th>
|
||||
</tr>
|
||||
|
||||
<tr style="height: 3rem">
|
||||
<td style="text-align: center">{{ part_name }}</td>
|
||||
<td style="text-align: center">{{ part_quantity }}</td>
|
||||
<td style="text-align: center">{{ minimum_quantity }}</td>
|
||||
</tr>
|
||||
|
||||
<tr style="background-color: aliceblue;height: 4rem;">
|
||||
<td colspan="3" style="padding-top:1rem; text-align: center">{% trans "You are receiving this mail because you have starred the part " %} {{ part_name }}
|
||||
{% trans "Inventree application" %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user