summaryrefslogtreecommitdiffstats
path: root/install/static/associate.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-09-08 10:00:00 -0400
committerAdam Young <ayoung@redhat.com>2010-09-09 12:42:37 -0400
commit3a022fe51043f71bdb50aefea828377b8f0c09fb (patch)
treed6ce89a78293f47530c03f4cfe5c5412e0903b90 /install/static/associate.js
parent0a47351fd6a72e475f1e61fe1699dd84f008c9c1 (diff)
downloadfreeipa.git-3a022fe51043f71bdb50aefea828377b8f0c09fb.tar.gz
freeipa.git-3a022fe51043f71bdb50aefea828377b8f0c09fb.tar.xz
freeipa.git-3a022fe51043f71bdb50aefea828377b8f0c09fb.zip
Netgroup associations
netgroup->user,group,host,hostgroup -- Added facets to netgroup -- added links into lists for associations
Diffstat (limited to 'install/static/associate.js')
-rw-r--r--install/static/associate.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/static/associate.js b/install/static/associate.js
index c11642ba..cd07c9f7 100644
--- a/install/static/associate.js
+++ b/install/static/associate.js
@@ -218,8 +218,15 @@ function AssociationList(obj,facet,assignFacet,associationColumns,facets) {
var row = $("<tr/>").appendTo($('#searchResultsTable thead:last'));
for (var k = 0; k < associationColumns.length ;k++){
var column = this.associationColumns[k].column;
+ var link =
+ "#tab="+this.associationColumns[k].title
+ +"&facet=details"
+ +"&pkey="+userData.result.result[column][j];
$("<td/>",{
- html: userData.result.result[column][j]
+ html: $("<a />",{
+ href:link,
+ html:userData.result.result[column][j]
+ })
}).appendTo(row);
}
}