From d6d951ddc0c492f3261065b5dcb4df0534d252fc Mon Sep 17 00:00:00 2001 From: Caroline Chuong Date: Mon, 15 Jun 2020 16:42:13 +0200 Subject: Remove uneccessary details to link titles --- client/src/app/shared/channel/avatar.component.html | 4 ++-- client/src/app/shared/channel/avatar.component.ts | 4 ++-- client/src/app/shared/video/video-miniature.component.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/channel/avatar.component.html b/client/src/app/shared/channel/avatar.component.html index 062ef5bde..09871fca4 100644 --- a/client/src/app/shared/channel/avatar.component.html +++ b/client/src/app/shared/channel/avatar.component.html @@ -1,8 +1,8 @@
- Channel avatar + Channel avatar - Account avatar + Account avatar
diff --git a/client/src/app/shared/channel/avatar.component.ts b/client/src/app/shared/channel/avatar.component.ts index 2c8eeb4b2..31f39c200 100644 --- a/client/src/app/shared/channel/avatar.component.ts +++ b/client/src/app/shared/channel/avatar.component.ts @@ -20,11 +20,11 @@ export class AvatarComponent implements OnInit { ngOnInit () { this.channelLinkTitle = this.i18n( - 'Go to the channel page of {{name}} ({{handle}})', + '{{name}} (channel page)', { name: this.video.channel.name, handle: this.video.byVideoChannel } ) this.accountLinkTitle = this.i18n( - 'Go to the account page of {{name}} ({{handle}})', + '{{name}} (account page)', { name: this.video.account.name, handle: this.video.byAccount } ) } diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index 36e18d018..a08c3fc8d 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts @@ -114,7 +114,7 @@ export class VideoMiniatureComponent implements OnInit { this.setUpBy() this.channelLinkTitle = this.i18n( - 'Go to the channel page of {{name}} ({{handle}})', + '{{name}} (channel page)', { name: this.video.channel.name, handle: this.video.byVideoChannel } ) -- cgit v1.2.3