From 510b93071920fc97e6a3aba76ce08534545b77f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Sun, 19 Dec 2021 23:40:12 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers.php | 4 ++-- .../techsuwa/component/peertube/a/channels/avatar.blade.php | 2 +- .../views/theme/techsuwa/component/peertube/a/info.blade.php | 2 +- .../theme/techsuwa/component/peertube/c/head/info.blade.php | 2 +- .../theme/techsuwa/component/peertube/c/head/owner.blade.php | 2 +- .../theme/techsuwa/component/peertube/c/playlists.blade.php | 2 +- .../techsuwa/component/peertube/menu/top/loggedin.blade.php | 2 +- .../peertube/my-account/notifications/actorfollow.blade.php | 2 +- .../peertube/my-account/notifications/comment.blade.php | 2 +- .../peertube/my-account/notifications/video.blade.php | 2 +- .../techsuwa/component/peertube/videos/channels.blade.php | 2 +- .../techsuwa/component/peertube/w/info/channel.blade.php | 4 ++-- .../techsuwa/component/peertube/w/info/comments.blade.php | 2 +- .../techsuwa/component/peertube/w/videorecommend.blade.php | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/helpers.php b/app/helpers.php index 78e4e0a..5ba668a 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -45,8 +45,8 @@ function ptFullHandle ($v) { return $v->name.($v->host != env('PEER_URI') ? '@'.$v->host : ''); } -function ptAvatar ($avatar) { - return isset($avatar) && !is_null($avatar) ? env('PEER_URI').$avatar->path : '/img/noicon.jpg'; +function ptAvatar ($v) { + return isset($v->avatar) && !is_null($v->avatar) ? env('PEER_URI').$v->avatar->path : '/img/noicon.jpg'; } function userDetail ($id, $kero=null) { diff --git a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php index 8ec0488..6350f42 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php @@ -1,7 +1,7 @@
- チャンネルのアバター + チャンネルのアバター

diff --git a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php index f943b57..3739d0a 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php @@ -1,7 +1,7 @@