Twig updates

Moved non-global functions from twig back into PHP.
This commit is contained in:
Lee
2021-01-04 13:11:18 +00:00
parent 8c06bd1738
commit 5547ccffd6
3 changed files with 14 additions and 19 deletions

View File

@@ -34,7 +34,7 @@
<div class="creatureImages">
<a href="{{ getMonsterLink(creature.name, false)|raw }}">
<div class="creature_img " style="background-image: url({{ creature.img_link }}"></div>
<img class=" {{ (creature.rewardboss ? 'creatureBoss' : '') }}" src="{{ getCreatureImgPath(creature.name) }}" border="0"/>
<img class=" {{ (creature.rewardboss ? 'creatureBoss' : '') }}" src="{{ creature.img_link }}" border="0"/>
</a>
<div>{{ creature.name }}</div>
</div>