Slow Mode (#192): help button + fix field css

This commit is contained in:
John Livingston 2024-02-22 14:53:41 +01:00
parent 0fd94e7a44
commit 3a9c17fba8
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
<div class="col-12 col-lg-4 col-xl-3">
<h2>{{defaultSlowModeLabel}}</h2>
<p>{{{defaultSlowModeDesc}}}</p>
{{{helpButtonSlowMode}}}
</div>
<div class="col-12 col-lg-8 col-xl-9">
<div class="form-group">
@ -20,6 +21,7 @@
<input
type="number"
name="slow_mode_default_duration"
class="form-control"
min="0"
max="1000"
id="peertube-livechat-slow-mode-default-duration"

View File

@ -58,6 +58,7 @@ async function fillViewHelpButtons (
view.helpButtonForbiddenWords = await button('documentation/user/streamers/bot/forbidden_words')
view.helpButtonQuotes = await button('documentation/user/streamers/bot/quotes')
view.helpButtonCommands = await button('documentation/user/streamers/bot/commands')
view.helpButtonSlowMode = await button('documentation/user/streamers/slow_mode')
}
async function fillLabels (