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

Translations

This commit is contained in:
Oliver Walters
2020-04-05 20:40:46 +10:00
parent c170d3f87a
commit 7b494c08ec
5 changed files with 406 additions and 345 deletions

View File

@ -1,11 +1,12 @@
{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% block page_title %}
{% if item %}
InvenTree | Stock Item - {{ item }}
InvenTree | {% trans "Stock Item" %} - {{ item }}
{% elif location %}
InvenTree | Stock Location - {{ location }}
InvenTree | {% trans "Stock Location" %} - {{ location }}
{% else %}
InvenTree | Stock
{% endif %}
@ -29,13 +30,12 @@ InvenTree | Stock
{% endblock %}
{% block js_ready %}
initSideNav();
{{ block.super }}
loadTree("{% url 'api-stock-tree' %}",
"#stock-tree",
{
name: 'stock',
}
"#stock-tree",
{
name: 'stock',
}
);
$("#toggle-stock-tree").click(function() {
@ -43,4 +43,5 @@ InvenTree | Stock
return false;
})
initSideNav();
{% endblock %}