forked from MarseyWorld/MarseyWorld
fix
parent
5863e94a61
commit
7e00788f2d
|
@ -124,26 +124,24 @@
|
|||
|
||||
<div class="rounded-lg divide-y divide-gray-300 bg-gray-100 border border-gray-300 shadow-inset-t-white-10 p-4">
|
||||
<h2 class="font-bold text-lg font-heading leading-normal mb-2">Linked accounts</h2>
|
||||
<div class="flex flex-col space-y-2 divide-y divide-y-800">
|
||||
<div>
|
||||
{% 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-red" value="Disconnect Discord">
|
||||
</form>
|
||||
<p class="mt-2 text-xs text-gray-400 mt-3">
|
||||
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
|
||||
</p>
|
||||
{% else %}
|
||||
<a href="/discord" class="btn btn-gray">
|
||||
<i class="fab fa-discord fa-fw mr-1"></i>
|
||||
Link Discord
|
||||
</a>
|
||||
<p class="mt-2 text-xs text-gray-400 mt-3">
|
||||
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
{% 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-red" value="Disconnect Discord">
|
||||
</form>
|
||||
<p class="mt-2 text-xs text-gray-400 mt-3">
|
||||
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
|
||||
</p>
|
||||
{% else %}
|
||||
<a href="/discord" class="btn btn-gray">
|
||||
<i class="fab fa-discord fa-fw mr-1"></i>
|
||||
Link Discord
|
||||
</a>
|
||||
<p class="mt-2 text-xs text-gray-400 mt-3">
|
||||
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue