diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index b05a21304d..11d99c8f61 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -1,68 +1,66 @@ -{% extends "two_column.html" %} +{% extends "page_base.html" %} {% load static %} {% load i18n %} {% load inventree_extras %} - {% block page_title %} {% inventree_title %} | {% trans "Company" %} - {{ company.name }} {% endblock %} - -{% block thumbnail %} -{% settings_value "INVENTREE_DOWNLOAD_FROM_URL" as allow_download %} - -
- -
-
- - {% if allow_download %} - +{% block details_left %} +
+
+
+ +
+
+ + {% settings_value "INVENTREE_DOWNLOAD_FROM_URL" as allow_download %} + {% if allow_download %} + + {% endif %} +
+
+
+
+
+

+ {{ company.name }} + {% if user.is_staff and perms.company.change_company %} + + {% endif %} +

+

{{ company.description }}

+
+ {% if company.is_supplier and roles.purchase_order.add %} + + {% endif %} + {% if perms.company.change_company %} + + {% endif %} + {% if perms.company.delete_company %} + {% endif %}
{% endblock %} -{% block page_data %} -

{% trans "Company" %}

-
-

- {{ company.name }} - {% if user.is_staff and perms.company.change_company %} - - {% endif %} -

-

{{ company.description }}

-
- {% if company.is_supplier and roles.purchase_order.add %} - - {% endif %} - {% if perms.company.change_company %} - - {% endif %} - {% if perms.company.delete_company %} - - {% endif %} -
-{% endblock %} +{% block details_right %} -{% block page_details %} -

{% trans "Company Details" %}

- +
{% if company.website %} diff --git a/InvenTree/company/templates/company/detail.html b/InvenTree/company/templates/company/detail.html index 3f3d919a28..c3f2af2a87 100644 --- a/InvenTree/company/templates/company/detail.html +++ b/InvenTree/company/templates/company/detail.html @@ -29,10 +29,14 @@ @@ -69,10 +73,14 @@ @@ -166,7 +174,7 @@
-