diff --git a/InvenTree/build/templates/build/detail.html b/InvenTree/build/templates/build/detail.html index 7e6efff2af..8f60cc31df 100644 --- a/InvenTree/build/templates/build/detail.html +++ b/InvenTree/build/templates/build/detail.html @@ -106,7 +106,7 @@ {% trans "External Link" %} - {% include 'clip_link.html' with link=build.link %} + {% include 'clip_link.html' with link=build.link new_window=True %} {% endif %} {% if build.issued_by %} diff --git a/InvenTree/company/templates/company/manufacturer_part.html b/InvenTree/company/templates/company/manufacturer_part.html index 5bffdcb781..eff5e40fc6 100644 --- a/InvenTree/company/templates/company/manufacturer_part.html +++ b/InvenTree/company/templates/company/manufacturer_part.html @@ -105,7 +105,7 @@ src="{% static 'img/blank_image.png' %}" {% trans "External Link" %} - {% include 'clip_link.html' with link=part.link %} + {% include 'clip_link.html' with link=part.link new_window=True %} {% endif %} diff --git a/InvenTree/company/templates/company/supplier_part.html b/InvenTree/company/templates/company/supplier_part.html index 5a37cbae43..a3f4c6f336 100644 --- a/InvenTree/company/templates/company/supplier_part.html +++ b/InvenTree/company/templates/company/supplier_part.html @@ -193,7 +193,7 @@ src="{% static 'img/blank_image.png' %}" {% trans "External Link" %} - {% include 'clip_link.html' with link=part.link %} + {% include 'clip_link.html' with link=part.link new_window=True %} {% endif %} diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index 4f42be86d4..03e533a498 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -165,7 +165,7 @@ src="{% static 'img/blank_image.png' %}" {% trans "External Link" %} - {% include 'clip_link.html' with link=order.link %} + {% include 'clip_link.html' with link=order.link new_window=True %} {% endif %} diff --git a/InvenTree/order/templates/order/return_order_base.html b/InvenTree/order/templates/order/return_order_base.html index 7c3a609c99..ce4c56a47d 100644 --- a/InvenTree/order/templates/order/return_order_base.html +++ b/InvenTree/order/templates/order/return_order_base.html @@ -144,7 +144,7 @@ src="{% static 'img/blank_image.png' %}" {% trans "External Link" %} - {% include 'clip_link.html' with link=order.link %} + {% include 'clip_link.html' with link=order.link new_window=True %} {% endif %} diff --git a/InvenTree/order/templates/order/sales_order_base.html b/InvenTree/order/templates/order/sales_order_base.html index 2c5c28e05e..f889168628 100644 --- a/InvenTree/order/templates/order/sales_order_base.html +++ b/InvenTree/order/templates/order/sales_order_base.html @@ -179,7 +179,7 @@ src="{% static 'img/blank_image.png' %}" {% trans "External Link" %} - {% include 'clip_link.html' with link=order.link %} + {% include 'clip_link.html' with link=order.link new_window=True new_window=True %} {% endif %} diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index df2e138338..b8dad6cadd 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -383,7 +383,7 @@ {% trans "External Link" %} - {% include 'clip_link.html' with link=part.link %} + {% include 'clip_link.html' with link=part.link new_window=True %} {% endif %} {% if part.responsible %} diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 62f9914fa7..6e87dd3786 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -199,7 +199,7 @@ {% trans "External Link" %} - {% include 'clip_link.html' with link=item.link %} + {% include 'clip_link.html' with link=item.link new_window=True %} {% endif %} {% if item.supplier_part.manufacturer_part %} diff --git a/InvenTree/templates/clip_link.html b/InvenTree/templates/clip_link.html index bdbb962b80..ab3aeb689f 100644 --- a/InvenTree/templates/clip_link.html +++ b/InvenTree/templates/clip_link.html @@ -1,5 +1,5 @@ {% load i18n %} {% if link %} -{{ link }}{% include 'clip.html' %} +{{ link }}{% include 'clip.html' %} {% endif %}