aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-15 21:27:37 +0100
committerRigel Kent <sendmemail@rigelk.eu>2019-12-15 21:58:11 +0100
commitdd4f25eea802fd88ea641d730432b56f562e0861 (patch)
tree72ead957524555827f4531fb00f90bf3f5e633c1 /client/src/app/videos/+video-watch/video-watch.component.html
parent44efbebac43c2bac75744399dc1176dce7ba3277 (diff)
downloadPeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.gz
PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.zst
PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.zip
add channel avatar to watch view
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.html')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index c4a293d0c..9e653ea78 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -136,26 +136,26 @@
136 </div> 136 </div>
137 137
138 138
139 <div class="pt-3 border-top video-info-channel"> 139 <div class="pt-3 border-top video-info-channel d-flex">
140 <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Go the channel page"> 140 <div class="video-info-channel-left d-flex">
141 <img [src]="video.videoChannelAvatarUrl" alt="Video channel avatar" /> 141 <avatar-channel [video]="video"></avatar-channel>
142 {{ video.channel.displayName }} 142 <div class="video-info-channel-left-links ml-1">
143 </a> 143 <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Go the channel page">
144 {{ video.channel.displayName }}
145 </a>
146 <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Go to the account page">
147 <span i18n>By {{ video.byAccount }}</span>
148 </a>
149 </div>
150 </div>
144 151
145 <my-subscribe-button #subscribeButton [videoChannel]="video.channel" size="small"></my-subscribe-button> 152 <my-subscribe-button #subscribeButton [videoChannel]="video.channel" size="small"></my-subscribe-button>
146 </div> 153 </div>
147
148 <div class="video-info-by">
149 <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Go to the account page">
150 <img [src]="video.accountAvatarUrl" alt="Account avatar" />
151 <span i18n>By {{ video.byAccount }}</span>
152 </a>
153 </div>
154 </div> 154 </div>
155 155
156 </div> 156 </div>
157 157
158 <div class="video-info-description ml-4"> 158 <div class="video-info-description">
159 <div class="video-info-description-html" [innerHTML]="videoHTMLDescription"></div> 159 <div class="video-info-description-html" [innerHTML]="videoHTMLDescription"></div>
160 160
161 <div class="video-info-description-more" *ngIf="completeDescriptionShown === false && video.description?.length >= 250" (click)="showMoreDescription()"> 161 <div class="video-info-description-more" *ngIf="completeDescriptionShown === false && video.description?.length >= 250" (click)="showMoreDescription()">
@@ -170,7 +170,7 @@
170 </div> 170 </div>
171 </div> 171 </div>
172 172
173 <div class="video-attributes mb-3 ml-4"> 173 <div class="video-attributes mb-3">
174 <div class="video-attribute"> 174 <div class="video-attribute">
175 <span i18n class="video-attribute-label">Privacy</span> 175 <span i18n class="video-attribute-label">Privacy</span>
176 <span class="video-attribute-value">{{ video.privacy.label }}</span> 176 <span class="video-attribute-value">{{ video.privacy.label }}</span>