mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-28 02:09:21 +02:00
Removed unnecessary "if" in guild.view twig
* problem that doesn't show the option to kick people from the guild
This commit is contained in:
parent
bda7982134
commit
624a99b179
@ -139,7 +139,6 @@
|
|||||||
<form action="?subtopic=guilds&action=change_nick&name={{ playerName }}" method="post">
|
<form action="?subtopic=guilds&action=change_nick&name={{ playerName }}" method="post">
|
||||||
{{ getPlayerLink(playerName, true)|raw }}
|
{{ getPlayerLink(playerName, true)|raw }}
|
||||||
|
|
||||||
{% if useGuildNick %}
|
|
||||||
{% set showGuildNick = false %}
|
{% set showGuildNick = false %}
|
||||||
{% if player.getGuildNick() is not empty %}
|
{% if player.getGuildNick() is not empty %}
|
||||||
{% set showGuildNick = true %}
|
{% set showGuildNick = true %}
|
||||||
@ -163,7 +162,6 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user