aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channels.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-29 15:56:01 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-03-31 09:05:51 +0200
commit100d9ce23bb7c5186132607e4c444f9cba5002a4 (patch)
tree2028938d90321c6d2454c4aea2e6f24e53393a4a /client/src/app/+video-channels/video-channels.component.html
parent900f7820814b95b07ef0bcac04036a95abfbe060 (diff)
downloadPeerTube-100d9ce23bb7c5186132607e4c444f9cba5002a4.tar.gz
PeerTube-100d9ce23bb7c5186132607e4c444f9cba5002a4.tar.zst
PeerTube-100d9ce23bb7c5186132607e4c444f9cba5002a4.zip
Add support button in channel page
Diffstat (limited to 'client/src/app/+video-channels/video-channels.component.html')
-rw-r--r--client/src/app/+video-channels/video-channels.component.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html
index 9f9c1f2ca..b9ac13f09 100644
--- a/client/src/app/+video-channels/video-channels.component.html
+++ b/client/src/app/+video-channels/video-channels.component.html
@@ -7,6 +7,11 @@
7 </a> 7 </a>
8 8
9 <my-subscribe-button *ngIf="!isManageable()" #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button> 9 <my-subscribe-button *ngIf="!isManageable()" #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
10
11 <button *ngIf="videoChannel.support" (click)="showSupportModal()" class="support-button peertube-button orange-button-inverted">
12 <my-global-icon iconName="support" aria-hidden="true"></my-global-icon>
13 <span class="icon-text" i18n>Support</span>
14 </button>
10 </ng-template> 15 </ng-template>
11 16
12 <ng-template #ownerTemplate> 17 <ng-template #ownerTemplate>
@@ -112,3 +117,5 @@
112 117
113 <router-outlet></router-outlet> 118 <router-outlet></router-outlet>
114</div> 119</div>
120
121<my-support-modal #supportModal [videoChannel]="videoChannel"></my-support-modal>