2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-30 02:30:52 +00:00

Link changes and in-table clipboards (#4697)

* Add clipboard to tables and external link changes

* Clipboard icon added to tables for screens >1200px wide. Enables
  copying of SKU/MPN/IPN from table cells where these otherwise are
  hyperlinks

* External links now open in new tabs with noreferrer

* Move external links into separate template

* All statically rendered external links have been moved out to a new
  template.
This commit is contained in:
Lavissa
2023-05-02 00:13:50 +02:00
committed by GitHub
parent 0b8feb2c4a
commit 6bd95f3b15
15 changed files with 65 additions and 25 deletions

View File

@ -0,0 +1,5 @@
{% load i18n %}
{% if link %}
<a href="{{ link }}">{{ link }}</a>{% include 'clip.html' %}
{% endif %}