mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Rename 'Company' to 'Suppliers' in front-end
This commit is contained in:
parent
c6331255de
commit
a1d587b7f4
@ -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);
|
||||
|
@ -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 }}
|
||||
|
||||
|
@ -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" %}
|
||||
|
Loading…
Reference in New Issue
Block a user