JS linting

This commit is contained in:
Oliver 2021-11-08 09:58:55 +11:00
parent c9924470ad
commit ac97edd18b
2 changed files with 3 additions and 4 deletions

View File

@ -22,12 +22,12 @@
<a href="https://github.com/inventree/InvenTree/releases">{% inventree_version %}</a>{% include "clip.html" %} <a href="https://github.com/inventree/InvenTree/releases">{% inventree_version %}</a>{% include "clip.html" %}
{% inventree_is_development as dev %} {% inventree_is_development as dev %}
{% if dev %} {% if dev %}
<span class='badge rounded-pill bg-primary'>{% trans "Development Version" %}</span> <span class='badge badge-right rounded-pill bg-primary'>{% trans "Development Version" %}</span>
{% else %} {% else %}
{% if up_to_date %} {% if up_to_date %}
<span class='badge rounded-pill bg-success'>{% trans "Up to Date" %}</span> <span class='badge badge-right rounded-pill bg-success'>{% trans "Up to Date" %}</span>
{% else %} {% else %}
<span class='badge rounded-pill bg-info'>{% trans "Update Available" %}</span> <span class='badge badge-right rounded-pill bg-info'>{% trans "Update Available" %}</span>
{% endif %} {% endif %}
{% endif %} {% endif %}
</td> </td>

View File

@ -19,7 +19,6 @@
renderStockLocation, renderStockLocation,
renderSupplierPart, renderSupplierPart,
renderUser, renderUser,
showAlertDialog,
showAlertOrCache, showAlertOrCache,
showApiError, showApiError,
*/ */