aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+accounts/account-video-channels/account-video-channels.component.html6
-rw-r--r--client/src/app/+accounts/account-video-channels/account-video-channels.component.ts4
-rw-r--r--client/src/app/shared/video/video-miniature.component.scss2
3 files changed, 10 insertions, 2 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
index e9c8179b7..cb23bb522 100644
--- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
+++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
@@ -5,7 +5,7 @@
5 <div class="channels" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true"> 5 <div class="channels" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true">
6 <div class="section channel" *ngFor="let videoChannel of videoChannels"> 6 <div class="section channel" *ngFor="let videoChannel of videoChannels">
7 <div class="section-title"> 7 <div class="section-title">
8 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" i18n-title title="See this video channel"> 8 <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel">
9 <img [src]="videoChannel.avatarUrl" alt="Avatar" /> 9 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
10 10
11 <div>{{ videoChannel.displayName }}</div> 11 <div>{{ videoChannel.displayName }}</div>
@@ -20,6 +20,10 @@
20 20
21 <my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature> 21 <my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
22 </div> 22 </div>
23
24 <a class="show-more" i18n [routerLink]="getVideoChannelLink(videoChannel)">
25 Show this channel
26 </a>
23 </div> 27 </div>
24 </div> 28 </div>
25</div> 29</div>
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
index 4d07d653f..7144f4b5f 100644
--- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
+++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts
@@ -89,4 +89,8 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy {
89 89
90 this.loadMoreChannels() 90 this.loadMoreChannels()
91 } 91 }
92
93 getVideoChannelLink (videoChannel: VideoChannel) {
94 return [ '/video-channels', videoChannel.nameWithHost ]
95 }
92} 96}
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss
index dac178bde..3658ee3c0 100644
--- a/client/src/app/shared/video/video-miniature.component.scss
+++ b/client/src/app/shared/video/video-miniature.component.scss
@@ -9,7 +9,7 @@ $more-margin-right: 10px;
9 width: $video-miniature-width; 9 width: $video-miniature-width;
10 display: inline-flex; 10 display: inline-flex;
11 flex-direction: column; 11 flex-direction: column;
12 margin-bottom: 30px; 12 margin-bottom: $video-miniature-margin-bottom;
13 height: 195px; 13 height: 195px;
14 vertical-align: top; 14 vertical-align: top;
15 15