Add page title for company page

This commit is contained in:
Oliver Walters 2019-05-09 18:17:28 +10:00
parent a067d9f4cd
commit ca6bd0a999
5 changed files with 19 additions and 6 deletions

View File

@ -2,6 +2,10 @@
{% load static %}
{% block page_title %}
InvenTree | Company - {{ company.name }}
{% endblock %}
{% block content %}
<div class="row">

View File

@ -2,6 +2,10 @@
{% load static %}
{% block page_title %}
InvenTree | Company List
{% endblock %}
{% block content %}
<div class='row'>

View File

@ -1,5 +1,10 @@
{% extends "base.html" %}
{% load static %}
{% block page_title %}
InvenTree | {{ company.name }} - Parts
{% endblock %}
{% block content %}
<div class='row'>

View File

@ -4,11 +4,11 @@
{% block page_title %}
{% if part %}
InvenTree Part - {{ part.name }}
InvenTree | Part - {{ part.name }}
{% elif category %}
InvenTree Part Category - {{ category }}
InvenTree | Part Category - {{ category }}
{% else %}
InvenTree Part List
InvenTree | Part List
{% endif %}
{% endblock %}

View File

@ -3,11 +3,11 @@
{% block page_title %}
{% if item %}
InvenTree Stock Item - {{ item }}
InvenTree | Stock Item - {{ item }}
{% elif location %}
InvenTree Stock Location - {{ location }}
InvenTree | Stock Location - {{ location }}
{% else %}
InvenTree Stock
InvenTree | Stock
{% endif %}
{% endblock %}