From 4031d80d9ada10447dc5f57962a8f053c0c9db5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Tue, 25 Mar 2025 01:15:08 +0100 Subject: [PATCH] bugfix --- VERSION | 2 +- templates/live.html.ep | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index cc6c9a4..e75da3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.5 +2.3.6 diff --git a/templates/live.html.ep b/templates/live.html.ep index 34fe18b..44acb01 100644 --- a/templates/live.html.ep +++ b/templates/live.html.ep @@ -20,11 +20,11 @@ $('#Streams').bootstrapTable({ onClickCell: function (field, value, row, $element) { window.location.href = '/play/' + row.key; }, - formatNoMatches: function() { return + formatNoMatches: function() { % if ( $c->is_user_authenticated ) { - '<p class="text-4xl">AktuálnÄ› neprobĂhá žádnĂ© ĹľivĂ© vysĂlánĂ</p>' + return '<p class="text-4xl">AktuálnÄ› neprobĂhá žádnĂ© ĹľivĂ© vysĂlánĂ</p>' % } else { - '<p class="text-4xl">AktuálnÄ› neprobĂhá žádnĂ© veĹ™ejnĂ© ĹľivĂ© vysĂlánĂ.<br/>Pro zobrazenĂ neveĹ™ejnĂ˝ch vysĂlánĂ se prosĂm <a href="<%= $c->oauth2->authorize %>">pĹ™ihlaste</a></p>' + return '<p class="text-4xl">AktuálnÄ› neprobĂhá žádnĂ© veĹ™ejnĂ© ĹľivĂ© vysĂlánĂ.<br/>Pro zobrazenĂ neveĹ™ejnĂ˝ch vysĂlánĂ se prosĂm <a href="<%= $c->oauth2->authorize %>">pĹ™ihlaste</a></p>' % } }, }); -- GitLab