master
Aevann1 2021-11-22 18:54:01 +02:00
parent f50d42cc93
commit 1b65478763
1 changed files with 24 additions and 22 deletions

View File

@ -310,38 +310,40 @@
</div> </div>
{% if 'pcm' not in request.host %}
<h2 class="h5" name="referral">Linked Accounts</h2>
<h2 class="h5" name="referral">Linked Accounts</h2> <p class="text-small text-muted">Manage your connections to other services.</p>
<p class="text-small text-muted">Manage your connections to other services.</p> <div class="settings-section rounded">
<div class="settings-section rounded"> <div class="d-lg-flex">
<div class="d-lg-flex"> <div class="title w-lg-25">
<label>Discord</label>
</div>
<div class="title w-lg-25"> <div class="body w-lg-100">
<label>Discord</label>
</div>
<div class="body w-lg-100"> {% if v.discord_id %}
<form action="/settings/remove_discord" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="submit" class="btn btn-secondary text-capitalize mr-2 mb-0 mt-2" value="Disconnect Discord">
</form>
{% if v.discord_id %} <div class="text-small-extra text-muted mt-3">Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.</div>
<form action="/settings/remove_discord" method="post"> {% else %}
<input type="hidden" name="formkey" value="{{v.formkey}}"> <a href="/discord" class="btn btn-primary">Link Discord</a>
<input type="submit" class="btn btn-secondary text-capitalize mr-2 mb-0 mt-2" value="Disconnect Discord"> <div class="text-small-extra text-muted mt-3">Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.</div>
</form> {% endif %}
<div class="text-small-extra text-muted mt-3">Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.</div> </div>
{% else %}
<a href="/discord" class="btn btn-primary">Link Discord</a> </div>
<div class="text-small-extra text-muted mt-3">Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.</div>
{% endif %}
</div> </div>
{% endif %}
</div>
</div>
<h2 class="h5" name="referral">RSS Feed</h2> <h2 class="h5" name="referral">RSS Feed</h2>