diff --git a/VERSION b/VERSION index 3f684d2d9054bb637e241b07a9b7ab154d892640..cc6c9a491e0be7fc30975eca1071ed288cc21a03 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.4 +2.3.5 diff --git a/templates/live.html.ep b/templates/live.html.ep index 78c3686c88ed85ee769103a7042bf37a703485a7..34fe18b1e7395dac1ac977bf2bc5b5edca4c0ab1 100644 --- a/templates/live.html.ep +++ b/templates/live.html.ep @@ -20,7 +20,13 @@ $('#Streams').bootstrapTable({ onClickCell: function (field, value, row, $element) { window.location.href = '/play/' + row.key; }, - formatNoMatches: function() { 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>' }, + formatNoMatches: function() { return +% if ( $c->is_user_authenticated ) { + '<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>' +% } + }, }); function rowStyle(row, index) {