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

using feature in views

This commit is contained in:
2021-04-15 14:52:08 +02:00
parent d49977bed3
commit 098ac0c461
23 changed files with 50 additions and 36 deletions

View File

@ -5,7 +5,7 @@
{% load i18n %}
{% block page_title %}
InvenTree | {% trans "Stock Item" %} - {{ item }}
{% inventree_title %} | {% trans "Stock Item" %} - {{ item }}
{% endblock %}
{% block sidenav %}

View File

@ -1,12 +1,13 @@
{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% load inventree_extras %}
{% block page_title %}
{% if location %}
InvenTree | {% trans "Stock Location" %} - {{ location }}
{% inventree_title %} | {% trans "Stock Location" %} - {{ location }}
{% else %}
InvenTree | {% trans "Stock" %}
{% inventree_title %} | {% trans "Stock" %}
{% endif %}
{% endblock %}