2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Add (empty) page for displaying part test templates

This commit is contained in:
Oliver Walters
2020-05-17 14:26:53 +10:00
parent bc8b3a68f0
commit 66f2c01d5d
5 changed files with 41 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<div id='button-toolbar'>
<div class='button-toolbar container-fluid' style="float: right;">
<div class='btn-group' role='group'>
<button type='button' class='btn btn-success' id='add-test-result'>{% trans "Add Test Result" %}</button>
<button type='button' class='btn btn-success' id='add-test-result'>{% trans "Add Test Data" %}</button>
</div>
<div class='filter-list' id='filter-list-stocktests'>
<!-- Empty div -->

View File

@ -10,7 +10,7 @@
{% if item.part.trackable %}
<li{% if tab == 'tests' %} class='active'{% endif %}>
<a href="{% url 'stock-item-test-results' item.id %}">
{% trans "Test Results" %}
{% trans "Test Data" %}
{% if item.test_results.count > 0 %}<span class='badge'>{{ item.test_results.count }}</span>{% endif %}
</a>
</li>