From 48ccd7ef4328e6250fb52a10b873b24076de6770 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Sun, 8 Dec 2024 16:45:35 +0300 Subject: [PATCH] fix(ajax): maybe last fixes --- Web/Presenters/templates/Audio/List.xml | 2 +- Web/Presenters/templates/Audio/Playlist.xml | 6 +++--- Web/Presenters/templates/Messenger/Index.xml | 2 +- Web/Presenters/templates/User/Friends.xml | 2 +- Web/static/css/audios.css | 18 +++++++++++++++--- Web/static/css/main.css | 2 +- Web/static/js/al_wall.js | 2 +- Web/static/js/router.js | 2 +- 8 files changed, 24 insertions(+), 12 deletions(-) diff --git a/Web/Presenters/templates/Audio/List.xml b/Web/Presenters/templates/Audio/List.xml index 8cc0a436..1483ce95 100644 --- a/Web/Presenters/templates/Audio/List.xml +++ b/Web/Presenters/templates/Audio/List.xml @@ -99,7 +99,7 @@ -
+
{include "../components/content_error.xml", description => $ownerId > 0 ? ($ownerId == $thisUser->getId() ? tr("no_playlists_thisuser") : tr("no_playlists_user")) : tr("no_playlists_club")}
diff --git a/Web/Presenters/templates/Audio/Playlist.xml b/Web/Presenters/templates/Audio/Playlist.xml index 5a96ad6c..218a47f4 100644 --- a/Web/Presenters/templates/Audio/Playlist.xml +++ b/Web/Presenters/templates/Audio/Playlist.xml @@ -41,7 +41,7 @@
-
+
{if $cover} {_playlist_cover} @@ -62,7 +62,7 @@
-

{$playlist->getName()}

+

{$playlist->getName()}

{$playlist->getMetaDescription()|noescape} @@ -70,7 +70,7 @@
{nl2br($playlist->getDescriptionHTML())|noescape}
-
+
diff --git a/Web/Presenters/templates/Messenger/Index.xml b/Web/Presenters/templates/Messenger/Index.xml index b045c06f..3c4cedcc 100644 --- a/Web/Presenters/templates/Messenger/Index.xml +++ b/Web/Presenters/templates/Messenger/Index.xml @@ -20,7 +20,7 @@
+ onmousedown="window.location.assign({$coresp->getURL()});" > {var $recipient = $coresp->getCorrespondents()[1]} {var $lastMsg = $coresp->getPreviewMessage()} diff --git a/Web/Presenters/templates/User/Friends.xml b/Web/Presenters/templates/User/Friends.xml index b84228c5..7c52ad90 100644 --- a/Web/Presenters/templates/User/Friends.xml +++ b/Web/Presenters/templates/User/Friends.xml @@ -174,7 +174,7 @@ {elseif $subStatus === 3} - {_send_message} + {_send_message}