mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 16:58:21 -05:00
Make ModList narrower and remove sendmessage col.
This commit is contained in:
@@ -2987,7 +2987,7 @@ class ModList(UserList):
|
||||
self.type: c.site.moderators_with_perms(),
|
||||
self.invite_type: c.site.moderator_invites_with_perms(),
|
||||
}
|
||||
self.cells = ('user', 'permissions', 'permissionsctl', 'sendmessage')
|
||||
self.cells = ('user', 'permissions', 'permissionsctl')
|
||||
if editable:
|
||||
self.cells += ('remove',)
|
||||
|
||||
|
||||
@@ -6420,7 +6420,7 @@ body.gold .buttons li.comment-save-button { display: inline; }
|
||||
display: inline-block;
|
||||
font-size: small;
|
||||
text-align: right;
|
||||
width: 44ex;
|
||||
width: 36ex;
|
||||
}
|
||||
#moderator_invite .permissions { width: 30ex; }
|
||||
.permissions > form { display: none; }
|
||||
|
||||
@@ -360,13 +360,9 @@ r.ui.PermissionEditor.prototype = $.extend(new r.ui.Base(), {
|
||||
spans.push(this._renderBit("all")
|
||||
.toggleClass("added", this.original_perms.all != true))
|
||||
} else {
|
||||
if (this.original_perms.all) {
|
||||
if (!this.embedded || !new_perms) {
|
||||
spans.push(this._renderBit("all")
|
||||
.toggleClass("removed",
|
||||
!this.embedded && new_perms != null))
|
||||
}
|
||||
} else {
|
||||
if (this.original_perms.all && !new_perms) {
|
||||
spans.push(this._renderBit("all"))
|
||||
} else if (!this.original_perms.all) {
|
||||
for (var perm in this.original_perms) {
|
||||
if (this.original_perms[perm]) {
|
||||
if (this.embedded && !(new_perms && !new_perms[perm])) {
|
||||
|
||||
Reference in New Issue
Block a user