New setting: donate_column + move donate config to settings

This commit is contained in:
slawkens
2023-07-22 13:03:43 +02:00
parent a2fcb21b4f
commit b433615e68
12 changed files with 90 additions and 39 deletions

View File

@@ -39,10 +39,10 @@
{% for name, link in menus %}
<a href="{{ getLink(link) }}">{{ name }}</a>
{% endfor %}
{% if config.account_change_character_name %}
{% if setting('core.account_change_character_name') %}
<a href="{{ getLink('account/character/name') }}">Change Name</a>
{% endif %}
{% if config.account_change_character_sex %}
{% if setting('core.account_change_character_sex') %}
<a href="{{ getLink('account/character/sex') }}">Change Sex</a>
{% endif %}
<a href="{{ getLink('account/logout') }}">Logout</a>
@@ -192,7 +192,7 @@
{% include('buttons.base.html.twig') %}
</form>
</td>
{% if config.account_change_character_name %}
{% if setting('core.account_change_character_name') %}
<td>
<form action="{{ getLink('account/character/name') }}" method="post" >
{% set button_name = 'Change Name' %}
@@ -200,7 +200,7 @@
</form>
</td>
{% endif %}
{% if config.account_change_character_sex %}
{% if setting('core.account_change_character_sex') %}
<td>
<form action="{{ getLink('account/character/sex') }}" method="post" >
{% set button_name = 'Change Sex' %}