aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorCaroline Chuong <caroline.chuong@octo.com>2020-06-15 16:42:13 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-18 09:02:23 +0200
commitd6d951ddc0c492f3261065b5dcb4df0534d252fc (patch)
tree1a0e1b07ea9f0b6aa1e55fe5651aecba7daa3122 /client/src/app/shared
parent67c604ae691e372c35dff90e7343c9232dc87511 (diff)
downloadPeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.tar.gz
PeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.tar.zst
PeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.zip
Remove uneccessary details to link titles
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/channel/avatar.component.html4
-rw-r--r--client/src/app/shared/channel/avatar.component.ts4
-rw-r--r--client/src/app/shared/video/video-miniature.component.ts2
3 files changed, 5 insertions, 5 deletions
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 @@
1<div class="wrapper" [ngClass]="'avatar-' + size"> 1<div class="wrapper" [ngClass]="'avatar-' + size">
2 <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> 2 <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle">
3 <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> 3 <img [src]="video.videoChannelAvatarUrl" i18n-alt alt="Channel avatar" />
4 </a> 4 </a>
5 <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> 5 <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle">
6 <img [src]="video.accountAvatarUrl" alt="Account avatar" /> 6 <img [src]="video.accountAvatarUrl" i18n-alt alt="Account avatar" />
7 </a> 7 </a>
8</div> 8</div>
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 {
20 20
21 ngOnInit () { 21 ngOnInit () {
22 this.channelLinkTitle = this.i18n( 22 this.channelLinkTitle = this.i18n(
23 'Go to the channel page of {{name}} ({{handle}})', 23 '{{name}} (channel page)',
24 { name: this.video.channel.name, handle: this.video.byVideoChannel } 24 { name: this.video.channel.name, handle: this.video.byVideoChannel }
25 ) 25 )
26 this.accountLinkTitle = this.i18n( 26 this.accountLinkTitle = this.i18n(
27 'Go to the account page of {{name}} ({{handle}})', 27 '{{name}} (account page)',
28 { name: this.video.account.name, handle: this.video.byAccount } 28 { name: this.video.account.name, handle: this.video.byAccount }
29 ) 29 )
30 } 30 }
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 {
114 this.setUpBy() 114 this.setUpBy()
115 115
116 this.channelLinkTitle = this.i18n( 116 this.channelLinkTitle = this.i18n(
117 'Go to the channel page of {{name}} ({{handle}})', 117 '{{name}} (channel page)',
118 { name: this.video.channel.name, handle: this.video.byVideoChannel } 118 { name: this.video.channel.name, handle: this.video.byVideoChannel }
119 ) 119 )
120 120