From f4d7e8ef887bd035911bd3d62291c71156dd6e12 Mon Sep 17 00:00:00 2001 From: Valentin <valentin.pocotilenco@renam.md> Date: Fri, 15 Oct 2021 23:20:14 +0300 Subject: [PATCH] feature 5 --- web/eccs.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/web/eccs.js b/web/eccs.js index ca30a8c..2b8f8aa 100644 --- a/web/eccs.js +++ b/web/eccs.js @@ -319,10 +319,18 @@ $(document).ready(function() { }, { "data": "displayName", - "defaultContent": '' + "defaultContent": '', + "render": function(data, type, row, meta) { + return '[' + row.date + '] ' + data + '</a>'; + } }, { "data": "entityID" }, - { "data": "registrationAuthority" }, + { + "data": "registrationAuthority", + "render": function(data, type, row, meta) { + return '<a href="' + row.registrationAuthority + ' target="_blank"">' + data + '</a>'; + } + }, { "data": "date", "width": "180px", -- GitLab