2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00
Files
InvenTree/InvenTree/templates/clip_link.html
Kenneth Lorthioir e76fa11e63 Open External Links in new window (#5674)
* Update clip_link.html

* Update item_base.html

* Add new_window to all external links
2023-10-07 15:41:33 +11:00

6 lines
165 B
HTML

{% load i18n %}
{% if link %}
<a href="{{ link }}" {% if new_window %}target="_blank" rel="noopener"{% endif %}>{{ link }}</a>{% include 'clip.html' %}
{% endif %}