diff options
Diffstat (limited to 'client/src/app/+video-channels/video-channels.component.html')
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html index b9ac13f09..87e1b294b 100644 --- a/client/src/app/+video-channels/video-channels.component.html +++ b/client/src/app/+video-channels/video-channels.component.html | |||
@@ -17,10 +17,14 @@ | |||
17 | <ng-template #ownerTemplate> | 17 | <ng-template #ownerTemplate> |
18 | <div class="owner-block"> | 18 | <div class="owner-block"> |
19 | <div class="avatar-row"> | 19 | <div class="avatar-row"> |
20 | <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> | 20 | <a [routerLink]="getAccountUrl()" title="View account" i18n-title> |
21 | <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> | ||
22 | </a> | ||
21 | 23 | ||
22 | <div class="actor-info"> | 24 | <div class="actor-info"> |
23 | <h4>{{ videoChannel.ownerAccount.displayName }}</h4> | 25 | <h4> |
26 | <a [routerLink]="getAccountUrl()" title="View account" i18n-title>{{ videoChannel.ownerAccount.displayName }}</a> | ||
27 | </h4> | ||
24 | 28 | ||
25 | <div class="actor-handle">@{{ videoChannel.ownerBy }}</div> | 29 | <div class="actor-handle">@{{ videoChannel.ownerBy }}</div> |
26 | </div> | 30 | </div> |
@@ -30,11 +34,11 @@ | |||
30 | <div class="description-html" [innerHTML]="ownerDescriptionHTML"></div> | 34 | <div class="description-html" [innerHTML]="ownerDescriptionHTML"></div> |
31 | </div> | 35 | </div> |
32 | 36 | ||
33 | <a class="view-account short" [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n> | 37 | <a class="view-account short" [routerLink]="getAccountUrl()" i18n> |
34 | View account | 38 | View account |
35 | </a> | 39 | </a> |
36 | 40 | ||
37 | <a class="view-account complete" [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n> | 41 | <a class="view-account complete" [routerLink]="getAccountUrl()" i18n> |
38 | View owner account | 42 | View owner account |
39 | </a> | 43 | </a> |
40 | </div> | 44 | </div> |
@@ -83,7 +87,7 @@ | |||
83 | <div class="created-at" i18n>Channel created on {{ videoChannel.createdAt | date }}</div> | 87 | <div class="created-at" i18n>Channel created on {{ videoChannel.createdAt | date }}</div> |
84 | </div> | 88 | </div> |
85 | 89 | ||
86 | <div *ngIf="!channelDescriptionExpanded" class="show-more" role="button" | 90 | <div *ngIf="hasShowMoreDescription()" class="show-more" role="button" |
87 | (click)="channelDescriptionExpanded = !channelDescriptionExpanded" | 91 | (click)="channelDescriptionExpanded = !channelDescriptionExpanded" |
88 | title="Show the complete description" i18n-title i18n | 92 | title="Show the complete description" i18n-title i18n |
89 | > | 93 | > |