diff --git a/templates/default/rss/online.xml.twig b/templates/default/rss/online.xml.twig index b9cabcb..c0c0a4e 100644 --- a/templates/default/rss/online.xml.twig +++ b/templates/default/rss/online.xml.twig @@ -4,15 +4,15 @@ #{{ server.crc32server }} - {{ 'Online' | trans }} - {{ app.name }} {{ url('server_index', { crc32server : server.crc32server, _fragment : 'online' }) }} - {% for value in server.online %} + {% for online in server.online %} {{ 'Online changed!' | trans }} - {{ url('server_index', { crc32server : server.crc32server, guid: value.id, _fragment : 'online' }) }} + {{ url('server_index', { crc32server : server.crc32server, guid: online.id, _fragment : 'online' }) }} {{ url('server_index', { crc32server : server.crc32server, _fragment : 'online' }) }} - {{ 'Players' | trans }}: {{ value.players }} - {{ 'Bots' | trans }}: {{ value.bots }} - {{ 'Total' | trans }}: {{ value.total }} + {{ 'Players' | trans }}: {{ online.players }} + {{ 'Bots' | trans }}: {{ online.bots }} + {{ 'Total' | trans }}: {{ online.total }} {% endfor %} diff --git a/templates/default/rss/players.xml.twig b/templates/default/rss/players.xml.twig index e5cda03..931a477 100644 --- a/templates/default/rss/players.xml.twig +++ b/templates/default/rss/players.xml.twig @@ -7,7 +7,7 @@ {% for player in server.players %} {{ player.name }} {{ 'joined' | trans }} {{ app.name }}! - {{ url('server_index', { crc32server : server.crc32server, guid: value.id, _fragment : 'players' }) }} + {{ url('server_index', { crc32server : server.crc32server, guid: player.id, _fragment : 'players' }) }} {{ url('server_index', { crc32server : server.crc32server, _fragment : 'players' }) }} {{ player.joined | date("D, d M Y h:i:s O") }}