mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
admin: fix telegram/discord/matrix enabled varnames
This commit is contained in:
parent
e49996c401
commit
885d2ebf0f
@ -311,7 +311,7 @@
|
|||||||
<span class="button ~urge !normal full-width center" id="update-update">{{ .strings.update }}</span>
|
<span class="button ~urge !normal full-width center" id="update-update">{{ .strings.update }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ if .telegram_enabled }}
|
{{ if .telegramEnabled }}
|
||||||
<div id="modal-telegram" class="modal">
|
<div id="modal-telegram" class="modal">
|
||||||
<div class="modal-content card">
|
<div class="modal-content card">
|
||||||
<span class="heading mb-1">{{ .strings.linkTelegram }}</span>
|
<span class="heading mb-1">{{ .strings.linkTelegram }}</span>
|
||||||
@ -329,7 +329,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .discord_enabled }}
|
{{ if .discordEnabled }}
|
||||||
<div id="modal-discord" class="modal">
|
<div id="modal-discord" class="modal">
|
||||||
<div class="modal-content card">
|
<div class="modal-content card">
|
||||||
<span class="heading mb-1"><span id="discord-header"></span><span class="modal-close">×</span></span>
|
<span class="heading mb-1"><span id="discord-header"></span><span class="modal-close">×</span></span>
|
||||||
@ -515,7 +515,7 @@
|
|||||||
<div id="create-send-to-container">
|
<div id="create-send-to-container">
|
||||||
<label class="label supra">{{ .strings.inviteSendToEmail }}</label>
|
<label class="label supra">{{ .strings.inviteSendToEmail }}</label>
|
||||||
<div class="flex-expand mb-1 mt-half">
|
<div class="flex-expand mb-1 mt-half">
|
||||||
{{ if .discord_enabled }}
|
{{ if .discordEnabled }}
|
||||||
<input type="text" id="create-send-to" class="input ~neutral !normal mr-1" placeholder="example@example.com | user#1234">
|
<input type="text" id="create-send-to" class="input ~neutral !normal mr-1" placeholder="example@example.com | user#1234">
|
||||||
<span id="create-send-to-search" class="button ~neutral !normal mr-1">
|
<span id="create-send-to-search" class="button ~neutral !normal mr-1">
|
||||||
<i class="icon ri-search-2-line" title="{{ .strings.search }}"></i>
|
<i class="icon ri-search-2-line" title="{{ .strings.search }}"></i>
|
||||||
@ -556,13 +556,13 @@
|
|||||||
<th><input type="checkbox" value="" id="accounts-select-all"></th>
|
<th><input type="checkbox" value="" id="accounts-select-all"></th>
|
||||||
<th>{{ .strings.username }}</th>
|
<th>{{ .strings.username }}</th>
|
||||||
<th>{{ .strings.emailAddress }}</th>
|
<th>{{ .strings.emailAddress }}</th>
|
||||||
{{ if .telegram_enabled }}
|
{{ if .telegramEnabled }}
|
||||||
<th>Telegram</th>
|
<th>Telegram</th>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .matrix_enabled }}
|
{{ if .matrixEnabled }}
|
||||||
<th>Matrix</th>
|
<th>Matrix</th>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .discord_enabled }}
|
{{ if .discordEnabled }}
|
||||||
<th>Discord</th>
|
<th>Discord</th>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<th>{{ .strings.expiry }}</th>
|
<th>{{ .strings.expiry }}</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user