From: Loic Baron Date: Sat, 12 Oct 2013 14:42:15 +0000 (+0200) Subject: Datatables (hazelnut) added a link on the hrn to look at a single resource X-Git-Tag: myslice-0.2-5~10 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=3fb8170e3114c0845d95b35542a7bbfe84f7ac1b Datatables (hazelnut) added a link on the hrn to look at a single resource --- diff --git a/plugins/hazelnut/static/js/hazelnut.js b/plugins/hazelnut/static/js/hazelnut.js index e9753e2b..f17eb258 100644 --- a/plugins/hazelnut/static/js/hazelnut.js +++ b/plugins/hazelnut/static/js/hazelnut.js @@ -186,6 +186,9 @@ line.push(''); else line.push(record['hostname']); + + } else if (colnames[j] == 'hrn' && typeof(record) != 'undefined') { + line.push(' '+record['hrn']); } else { if (record[colnames[j]]) line.push(record[colnames[j]]);