Quasi mod group-forum presets now show up as Custom rather than blank on all themes.
Forum permission group-forum presets now show up on Nox. Fixed levels breaking onto multiple lines in Nox. Added the panel_perms_quasi_mod phrase.
This commit is contained in:
parent
255dd92a65
commit
14884ebb14
|
@ -237,10 +237,10 @@ func ForumPermsToGroupForumPreset(fperms *ForumPerms) string {
|
|||
return "can_moderate"
|
||||
}
|
||||
if fperms.EditTopic || fperms.DeleteTopic || fperms.EditReply || fperms.DeleteReply || fperms.PinTopic || fperms.CloseTopic || fperms.MoveTopic {
|
||||
if !canPost {
|
||||
//if !canPost {
|
||||
return "custom"
|
||||
}
|
||||
return "quasi_mod"
|
||||
//}
|
||||
//return "quasi_mod"
|
||||
}
|
||||
|
||||
if canPost {
|
||||
|
|
|
@ -396,6 +396,7 @@
|
|||
"panel_perms_read_only":"Read Only",
|
||||
"panel_perms_can_post":"Can Post",
|
||||
"panel_perms_can_moderate":"Can Moderate",
|
||||
"panel_perms_quasi_mod":"Partial Mod",
|
||||
"panel_perms_custom":"Custom",
|
||||
"panel_perms_default":"Default",
|
||||
|
||||
|
|
|
@ -217,6 +217,9 @@
|
|||
content: "{{index .Phrases "panel_perms_can_moderate" }}";
|
||||
color: hsl(240,100%,20%);
|
||||
}
|
||||
.perm_preset_quasi_mod:before {
|
||||
content: "{{index .Phrases "panel_perms_quasi_mod" }}";
|
||||
}
|
||||
.perm_preset_custom:before {
|
||||
content: "{{index .Phrases "panel_perms_custom" }}";
|
||||
color: hsl(0,0%,20%);
|
||||
|
|
|
@ -906,6 +906,9 @@ input[type=checkbox]:checked + label .sel {
|
|||
.level_inprogress .levelBit {
|
||||
display: inline;
|
||||
}
|
||||
.level_inprogress .levelBit a {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.level_inprogress .progressWrap {
|
||||
width: 100%;
|
||||
padding-left: 0px;
|
||||
|
|
|
@ -142,6 +142,34 @@ button, .formbutton, .panel_right_button:not(.has_inner_button), #panel_users .p
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
.perm_preset_no_access:before {
|
||||
content: "{{index .Phrases "panel_perms_no_access" }}";
|
||||
/*color: hsl(0,100%,20%);*/
|
||||
}
|
||||
/*.perm_preset_read_only:before, .perm_preset_can_post:before {
|
||||
color: hsl(120,100%,20%);
|
||||
}*/
|
||||
.perm_preset_read_only:before {
|
||||
content: "{{index .Phrases "panel_perms_read_only" }}";
|
||||
}
|
||||
.perm_preset_can_post:before {
|
||||
content: "{{index .Phrases "panel_perms_can_post" }}";
|
||||
}
|
||||
.perm_preset_can_moderate:before {
|
||||
content: "{{index .Phrases "panel_perms_can_moderate" }}";
|
||||
/*color: hsl(240,100%,20%);*/
|
||||
}
|
||||
.perm_preset_quasi_mod:before {
|
||||
content: "{{index .Phrases "panel_perms_quasi_mod" }}";
|
||||
}
|
||||
.perm_preset_custom:before {
|
||||
content: "{{index .Phrases "panel_perms_custom" }}";
|
||||
/*color: hsl(0,0%,20%);*/
|
||||
}
|
||||
.perm_preset_default:before {
|
||||
content: "{{index .Phrases "panel_perms_default" }}";
|
||||
}
|
||||
|
||||
.panel_submitrow {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
|
|
@ -120,6 +120,10 @@
|
|||
content: "{{index .Phrases "panel_perms_can_moderate" }}";
|
||||
color: darkblue;
|
||||
}
|
||||
.perm_preset_quasi_mod:before {
|
||||
content: "{{index .Phrases "panel_perms_quasi_mod" }}";
|
||||
color: darkblue;
|
||||
}
|
||||
.perm_preset_custom:before {
|
||||
content: "{{index .Phrases "panel_perms_custom" }}";
|
||||
color: black;
|
||||
|
|
Loading…
Reference in New Issue