Rename 'Company' to 'Suppliers' in front-end

This commit is contained in:
Oliver Walters 2019-05-15 07:44:13 +10:00
parent c6331255de
commit a1d587b7f4
3 changed files with 12 additions and 5 deletions

View File

@ -3,19 +3,19 @@
{% load static %}
{% block page_title %}
InvenTree | Company List
InvenTree | Supplier List
{% endblock %}
{% block content %}
<div class='row'>
<div class='col-sm-6'>
<h3>Company List</h3>
<h3>Supplier List</h3>
</div>
<div class='col-sm-6'>
<div class='container' id='active-build-toolbar' style='float: right;'>
<div class='btn-group' style='float: right;'>
<button type='button' class="btn btn-success" id='new-company'>New Company</button>
<button type='button' class="btn btn-success" id='new-company' title='Add new supplier'>New Supplier</button>
</div>
</div>
</div>
@ -54,7 +54,7 @@ InvenTree | Company List
},
{
field: 'name',
title: 'Company',
title: 'Supplier',
sortable: true,
formatter: function(value, row, index, field) {
return imageHoverIcon(row.image) + renderLink(value, row.url);

View File

@ -1,5 +1,7 @@
{% extends "base.html" %}
{% load static %}
{% block page_title %}
InvenTree | Search Results
{% endblock %}
@ -19,6 +21,11 @@ InvenTree | Search Results
{% endblock %}
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/part.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}

View File

@ -9,7 +9,7 @@
<li><a href="{% url 'part-index' %}">Parts</a></li>
<li><a href="{% url 'stock-index' %}">Stock</a></li>
<li><a href="{% url 'build-index' %}">Build</a></li>
<li><a href="{% url 'company-index' %}">Companies</a></li>
<li><a href="{% url 'company-index' %}">Suppliers</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
{% include "search_form.html" %}