2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Refactored index page

- Looks MUCH nicer now!
This commit is contained in:
Oliver
2021-10-29 13:28:21 +11:00
parent 6a3c9ead17
commit 0f10936e65
4 changed files with 83 additions and 95 deletions

View File

@ -88,11 +88,13 @@ src="{% static 'img/blank_image.png' %}"
{% if build.target_date %}
<tr>
<td><span class='fas fa-calendar-alt'></span></td>
<td>{% trans "Target Date" %}</td>
<td>
{% trans "Target Date" %}
</td>
<td>
{{ build.target_date }}
{% if build.is_overdue %}
<span title='{% blocktrans with target=build.target_date %}This build was due on {{target}}{% endblocktrans %}' class='badge rounded-pill bg-danger'>{% trans "Overdue" %}</span>
<span title='{% blocktrans with target=build.target_date %}This build was due on {{target}}{% endblocktrans %}' class='badge badge-right rounded-pill bg-danger'>{% trans "Overdue" %}</span>
{% endif %}
</td>
</tr>