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/23 16:49:16 UTC
[16/28] 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/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 <je...@gmail.com>
Authored: Mon Oct 19 10:37:39 2015 +0000
Committer: Igor Bondarenko <je...@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();