Skip to content

A free open source IT asset/license management system

Added external link formatter to BS tables

snipe6f8680efa6fd
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 291ebc5311..fc7dc28c4d 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -389,6 +389,12 @@
}
}
+ function externalLinkFormatter(value) {
+ if (value) {
+ return '<a href="' + value + '" target="_blank">' + value + '</a>';
+ }
+ }
+
function groupsFormatter(value) {
if (value) {