Add option to show categories you don't have permission to submit

This commit is contained in:
Ajay
2022-09-16 22:41:39 -04:00
parent 47f685bcdd
commit 4804c7f439
4 changed files with 26 additions and 2 deletions

View File

@@ -246,6 +246,12 @@
"whatRefetchWhenNotFound": {
"message": "If the video is new, and there are no segments found, it will keep refetching every few minutes while you watch."
},
"enableShowCategoryWithoutPermission": {
"message": "Show categories in submission menu even without submission permission"
},
"whatShowCategoryWithoutPermission": {
"message": "Some categories require permission to submit due to minimum reputation requirements"
},
"showNotice": {
"message": "Show Notice Again"
},

View File

@@ -141,6 +141,20 @@
<div class="small-description">__MSG_whatRefetchWhenNotFound__</div>
</div>
<div data-type="toggle" data-sync="showCategoryWithoutPermission">
<div class="switch-container">
<label class="switch">
<input id="showCategoryWithoutPermission" type="checkbox" checked>
<span class="slider round"></span>
</label>
<label class="switch-label" for="showCategoryWithoutPermission">
__MSG_enableShowCategoryWithoutPermission__
</label>
</div>
<div class="small-description">__MSG_whatShowCategoryWithoutPermission__</div>
</div>
</div>
<div id="interface" class="option-group hidden">