Merge pull request #1481 from matmair/instance-name-in-title

Instance name in title
This commit is contained in:
Oliver authored and GitHub committed 2021-04-18 21:48:37 +10:00
commit 157d58b157
27 files changed
+72 -38

No files matched your search

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