forked from MarseyWorld/MarseyWorld
add hold polls to /admin
parent
53d75d928c
commit
bbc7ba4de0
|
@ -585,7 +585,8 @@ BANNER_THREAD = 0
|
|||
BADGE_THREAD = 0
|
||||
SNAPPY_THREAD = 0
|
||||
CHANGELOG_THREAD = 0
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD}
|
||||
POLL_THREAD = 0
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, POLL_THREAD}
|
||||
|
||||
MAX_IMAGE_SIZE_BANNER_RESIZED_MB = 2
|
||||
MAX_IMAGE_AUDIO_SIZE_MB = 8
|
||||
|
@ -648,7 +649,8 @@ if SITE in {'rdrama.net', 'staging.rdrama.net'}:
|
|||
BADGE_THREAD = 37833
|
||||
SNAPPY_THREAD = 37749
|
||||
CHANGELOG_THREAD = 165657
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, 79285, 166300, 187078}
|
||||
POLL_THREAD = 79285
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, POLL_THREAD, 166300, 187078}
|
||||
|
||||
TRUESCORE_MINIMUM = 10
|
||||
|
||||
|
@ -774,7 +776,8 @@ elif SITE == 'watchpeopledie.tv':
|
|||
BADGE_THREAD = 52519
|
||||
SNAPPY_THREAD = 67186
|
||||
CHANGELOG_THREAD = 56363
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, 22937, 106665}
|
||||
POLL_THREAD = 22937
|
||||
ADMIGGER_THREADS = {SIDEBAR_THREAD, BANNER_THREAD, BADGE_THREAD, SNAPPY_THREAD, CHANGELOG_THREAD, POLL_THREAD, 106665}
|
||||
|
||||
MAX_VIDEO_SIZE_MB = 500
|
||||
MAX_VIDEO_SIZE_MB_PATRON = 500
|
||||
|
|
|
@ -136,6 +136,13 @@
|
|||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% if POLL_THREAD and v.admin_level >= PERMS['USE_ADMIGGER_THREADS'] %}
|
||||
<h4>Polls</h4>
|
||||
<ul class="pb-3">
|
||||
<li><a href="/post/{{POLL_THREAD}}">Hold Polls</a></li>
|
||||
</ul>
|
||||
{%- endif %}
|
||||
|
||||
{% if v.admin_level >= PERMS['SITE_SETTINGS'] %}
|
||||
{% for setting in SITE_SETTINGS.keys() %}
|
||||
{% if not (setting == "offline_mode" and v.admin_level < PERMS["SITE_OFFLINE_MODE"]) %}
|
||||
|
|
Loading…
Reference in New Issue