mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Open External Links in new window (#5674)
* Update clip_link.html * Update item_base.html * Add new_window to all external links
This commit is contained in:
committed by
GitHub
parent
a779aa3a99
commit
e76fa11e63
@ -1,5 +1,5 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% if link %}
|
||||
<a href="{{ link }}">{{ link }}</a>{% include 'clip.html' %}
|
||||
<a href="{{ link }}" {% if new_window %}target="_blank" rel="noopener"{% endif %}>{{ link }}</a>{% include 'clip.html' %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user