diff options
author | Kimsible <kimsible@users.noreply.github.com> | 2021-04-28 23:45:23 +0200 |
---|---|---|
committer | Kimsible <kimsible@users.noreply.github.com> | 2021-05-05 11:48:25 +0200 |
commit | 718873964490d1aa31b0e99852002165637e4b9e (patch) | |
tree | 55b66793e382e901a4fbceb15fc2b5822e54e650 /client/src/app/shared/shared-video-playlist | |
parent | 69e076ddb0deda9e4120bab095d3369bb19fbd1e (diff) | |
download | PeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.gz PeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.zst PeerTube-718873964490d1aa31b0e99852002165637e4b9e.zip |
Make /a and /c default URLs for accounts and channels
Diffstat (limited to 'client/src/app/shared/shared-video-playlist')
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html index ec004a407..e74f58f47 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html +++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.html | |||
@@ -20,7 +20,7 @@ | |||
20 | [attr.title]="playlistElement.video.name" | 20 | [attr.title]="playlistElement.video.name" |
21 | >{{ playlistElement.video.name }}</a> | 21 | >{{ playlistElement.video.name }}</a> |
22 | 22 | ||
23 | <a *ngIf="accountLink" tabindex="-1" class="video-info-account" [routerLink]="[ '/accounts', playlistElement.video.byAccount ]"> | 23 | <a *ngIf="accountLink" tabindex="-1" class="video-info-account" [routerLink]="[ '/a', playlistElement.video.byAccount ]"> |
24 | {{ playlistElement.video.byAccount }} | 24 | {{ playlistElement.video.byAccount }} |
25 | </a> | 25 | </a> |
26 | <span *ngIf="!accountLink" tabindex="-1" class="video-info-account">{{ playlistElement.video.byAccount }}</span> | 26 | <span *ngIf="!accountLink" tabindex="-1" class="video-info-account">{{ playlistElement.video.byAccount }}</span> |
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html b/client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html index f50f95003..81c36e6fe 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html +++ b/client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.html | |||
@@ -19,7 +19,7 @@ | |||
19 | {{ playlist.displayName }} | 19 | {{ playlist.displayName }} |
20 | </a> | 20 | </a> |
21 | 21 | ||
22 | <a i18n [routerLink]="[ '/video-channels', playlist.videoChannelBy ]" class="by" *ngIf="displayChannel && playlist.videoChannelBy"> | 22 | <a i18n [routerLink]="[ '/c', playlist.videoChannelBy ]" class="by" *ngIf="displayChannel && playlist.videoChannelBy"> |
23 | {{ playlist.videoChannelBy }} | 23 | {{ playlist.videoChannelBy }} |
24 | </a> | 24 | </a> |
25 | 25 | ||