You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/10/27 18:07:42 UTC

[25/40] allura git commit: [#7924] ticket:838 Fix group permissions change js

[#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/2a998763
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/2a998763
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/2a998763

Branch: refs/heads/ib/7924
Commit: 2a998763a181ea99f8d600f038a52e136bb92f5b
Parents: 1322741
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Oct 19 10:37:39 2015 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue Oct 27 16:22:11 2015 +0200

----------------------------------------------------------------------
 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/2a998763/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();