add backend icon to xoslib developer view
authorScott Baker <smbaker@gmail.com>
Thu, 28 Aug 2014 21:47:29 +0000 (14:47 -0700)
committerScott Baker <smbaker@gmail.com>
Thu, 28 Aug 2014 21:47:29 +0000 (14:47 -0700)
planetstack/core/xoslib/static/js/xosDeveloper_datatables.js

index f0f92bf..4be4e0f 100644 (file)
         role = row.get("sliceInfo").roles[0];
         slivercount = row.get("sliceInfo").sliverCount;
         sitecount = row.get("sliceInfo").siteCount;
+        backendHtml = row.get("backendHtml")
 
         if (! role) {
             continue;
         }
 
-        actualEntries.push(['<a href="/admin/core/slice/' + sliceid + '">' + slicename + '</a>',
+        actualEntries.push([backendHtml + ' <a href="/admin/core/slice/' + sliceid + '">' + slicename + '</a>',
                             role, slivercount, sitecount]);
     }
     oTable = $('#dynamicusersliceinfo').dataTable( {