]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+video-channels/video-channels.component.html
HLS is only supported by ffmpeg 4
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-channels / video-channels.component.html
index 098e1eed4be7c05c1d68882973b234a2b75c6574..c65b5713d76b25943993eec491543c9e87cd1adc 100644 (file)
@@ -5,15 +5,24 @@
       <img [src]="videoChannel.avatarUrl" alt="Avatar" />
 
       <div class="actor-info">
-        <div class="actor-display-name">{{ videoChannel.displayName }}</div>
-        <div class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>
+        <div class="actor-names">
+          <div class="actor-display-name">{{ videoChannel.displayName }}</div>
+          <div class="actor-name">{{ videoChannel.nameWithHost }}</div>
+
+          <my-subscribe-button #subscribeButton [videoChannel]="videoChannel"></my-subscribe-button>
+        </div>
+        <div i18n class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>
+
+        <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner">
+          <span i18n>Created by {{ videoChannel.ownerBy }}</span>
+          <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
+        </a>
       </div>
     </div>
 
     <div class="links">
-      <a routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
-
-      <a routerLink="about" routerLinkActive="active" class="title-page">About</a>
+      <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
+      <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
     </div>
   </div>