mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Override page title for Stock app
This commit is contained in:
parent
e22ae21dc2
commit
b9b17f39d9
@ -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 %}
|
||||
|
@ -40,7 +40,7 @@
|
||||
{% endblock %}
|
||||
|
||||
<title>
|
||||
{% block title %}
|
||||
{% block page_title %}
|
||||
InvenTree
|
||||
{% endblock %}
|
||||
</title>
|
||||
|
Loading…
Reference in New Issue
Block a user