From 1e5e576bd0c5608f82ac052448dd61d42a52eae8 Mon Sep 17 00:00:00 2001 From: slawkens <slawkens@gmail.com> Date: Fri, 7 Feb 2020 00:57:02 +0100 Subject: [PATCH] Some formatting fixes --- system/templates/characters.html.twig | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/system/templates/characters.html.twig b/system/templates/characters.html.twig index e841f1b6..cf296e44 100644 --- a/system/templates/characters.html.twig +++ b/system/templates/characters.html.twig @@ -354,15 +354,15 @@ {% set rows = rows + 1 %} <tr bgcolor="{{ getStyle(rows) }}"> - <td width="20%">Created:</td> - <td>{{ account.getCreated()|date("j F Y, g:i a") }} - {% if bannedUntil matches '/^\\d+$/' or bannedUntil == '-1' %} - <span style="color: red">[Banished {% if bannedUntil == '-1' %}forever{% else %}until {{ bannedUntil|date('d F Y, h:s') }}{% endif %}]</span> - {% else %} - {{ bannedUntil|raw }} - {% endif %} - </td> - </tr> + <td width="20%">Created:</td> + <td>{{ account.getCreated()|date("j F Y, g:i a") }} + {% if bannedUntil matches '/^\\d+$/' or bannedUntil == '-1' %} + <span style="color: red">[Banished {% if bannedUntil == '-1' %}forever{% else %}until {{ bannedUntil|date('d F Y, h:s') }}{% endif %}]</span> + {% else %} + {{ bannedUntil|raw }} + {% endif %} + </td> + </tr> </table> <!-- ACCOUNT_INFORMATION_END --> {{ hook(constant('HOOK_CHARACTERS_AFTER_ACCOUNT')) }} @@ -404,19 +404,19 @@ </tr> {% endif %} {% endfor %} - </table> - <!-- CHARACTERS_LIST_END --> - {% endif %} - {{ hook(constant('HOOK_CHARACTERS_AFTER_CHARACTERS')) }} - {% if canEdit %} - <a href="admin/?p=players&id={{ player.getId() }}" title="Edit in Admin Panel" target="_blank"> - <img src="images/edit.png"/>Edit - </a> - {% endif %} + </table> + <!-- CHARACTERS_LIST_END --> + {% endif %} + {{ hook(constant('HOOK_CHARACTERS_AFTER_CHARACTERS')) }} + {% if canEdit %} + <a href="admin/?p=players&id={{ player.getId() }}" title="Edit in Admin Panel" target="_blank"> + <img src="images/edit.png"/>Edit + </a> + {% endif %} </td> <td> <img src="{{ template_path }}/images/general/blank.gif" width="10" height="1" border="0"> </td> </tr> </table> -<br/><br/>{{ search_form|raw }} \ No newline at end of file +<br/><br/>{{ search_form|raw }}