mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
Merge branch 'pichalite-master'
This commit is contained in:
@@ -115,6 +115,10 @@
|
||||
|
||||
// Groups helpers
|
||||
helpers.membershipBtn = function(groupObj) {
|
||||
if (groupObj.name === 'administrators') {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (groupObj.isMember) {
|
||||
return '<button class="btn btn-danger" data-action="leave" data-group="' + groupObj.displayName + '"><i class="fa fa-times"></i> [[groups:membership.leave-group]]</button>';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user