Override page title for Stock app

This commit is contained in:
Oliver Walters 2019-05-09 18:11:13 +10:00
parent e22ae21dc2
commit b9b17f39d9
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,16 @@
{% extends "base.html" %}
{% load static %}
{% block page_title %}
{% if item %}
InvenTree Stock Item - {{ item }}
{% elif location %}
InvenTree Stock Location - {{ location }}
{% else %}
InvenTree Stock
{% endif %}
{% endblock %}
{% block sidenav %}
<div id='stock-tree'></div>
{% endblock %}

View File

@ -40,7 +40,7 @@
{% endblock %}
<title>
{% block title %}
{% block page_title %}
InvenTree
{% endblock %}
</title>