allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [16/28] allura git commit: [#7924] ticket:838 Fix group permissions change js
Date Fri, 23 Oct 2015 14:49:16 GMT
[#7924] ticket:838 Fix group permissions change js


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/6ae9159b
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/6ae9159b
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/6ae9159b

Branch: refs/heads/ib/7924
Commit: 6ae9159bffaeafc36111d6c9622a9399fb978c09
Parents: a1a85fb
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Oct 19 10:37:39 2015 +0000
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Thu Oct 22 18:21:35 2015 +0300

----------------------------------------------------------------------
 Allura/allura/public/nf/js/project_groups.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/6ae9159b/Allura/allura/public/nf/js/project_groups.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/project_groups.js b/Allura/allura/public/nf/js/project_groups.js
index 858d1ac..ca4acb3 100644
--- a/Allura/allura/public/nf/js/project_groups.js
+++ b/Allura/allura/public/nf/js/project_groups.js
@@ -104,17 +104,16 @@ $(function() {
         var perm_link = perm_holder.find('a');
         if(!perm_holder.hasClass(item.has)){
           perm_holder.effect('highlight', {}, 2000);
-          var icon = perm_holder.find('b');
           perm_holder.attr('class',item.has);
           perm_link.attr('title',item.text);
           if(item.has=="yes"){
-            icon.attr('class','ico ico-check').attr('data-icon','3');
+            perm_link.attr('class','icon fa fa-check');
           }
           else if(item.has=="inherit"){
-            icon.attr('class','ico ico-checkcircle').attr('data-icon','2');
+            perm_link.attr('class','icon fa fa-check-circle');
           }
           else{
-            icon.attr('class','ico ico-noentry').attr('data-icon','d');
+            perm_link.attr('class','icon fa fa-ban');
           }
           perm_holder.find('span').remove();
           perm_link.show();


Mime
View raw message