mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
Override page title for Stock app
This commit is contained in:
parent
e22ae21dc2
commit
b9b17f39d9
@ -1,6 +1,16 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
{% block page_title %}
|
||||||
|
{% if item %}
|
||||||
|
InvenTree Stock Item - {{ item }}
|
||||||
|
{% elif location %}
|
||||||
|
InvenTree Stock Location - {{ location }}
|
||||||
|
{% else %}
|
||||||
|
InvenTree Stock
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block sidenav %}
|
{% block sidenav %}
|
||||||
<div id='stock-tree'></div>
|
<div id='stock-tree'></div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{% block title %}
|
{% block page_title %}
|
||||||
InvenTree
|
InvenTree
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</title>
|
</title>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user