diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-20 19:22:15 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-20 19:22:15 +0100 |
commit | 4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127 (patch) | |
tree | bcef1232a565ceaf3d43415a0b08e53e30c236d7 /client/src/app/videos/video-watch/video-watch.component.html | |
parent | 872a4c7cea861246cf84fa3686bd9d40c684535f (diff) | |
download | PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.gz PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.zst PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.zip |
Client: add ability to report a video
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.html | 20 |
1 files changed, 18 insertions, 2 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 a726ef3ff..8cee9959d 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -60,6 +60,19 @@ | |||
60 | <button title="Get magnet URI" id="magnet-uri" class="btn btn-default" (click)="showMagnetUriModal()"> | 60 | <button title="Get magnet URI" id="magnet-uri" class="btn btn-default" (click)="showMagnetUriModal()"> |
61 | <span class="glyphicon glyphicon-magnet"></span> Magnet | 61 | <span class="glyphicon glyphicon-magnet"></span> Magnet |
62 | </button> | 62 | </button> |
63 | |||
64 | <div *ngIf="isUserLoggedIn()" class="btn-group" dropdown> | ||
65 | <button id="single-button" type="button" id="more" class="btn btn-default" dropdownToggle> | ||
66 | <span class="glyphicon glyphicon-option-horizontal"></span> More | ||
67 | </button> | ||
68 | <ul dropdownMenu id="more-menu" role="menu" aria-labelledby="single-button"> | ||
69 | <li role="menuitem"> | ||
70 | <a class="dropdown-item" href="#" (click)="showReportModal($event)"> | ||
71 | <span class="glyphicon glyphicon-alert"></span> Report | ||
72 | </a> | ||
73 | </li> | ||
74 | </ul> | ||
75 | </div> | ||
63 | </div> | 76 | </div> |
64 | </div> | 77 | </div> |
65 | 78 | ||
@@ -79,5 +92,8 @@ | |||
79 | </div> | 92 | </div> |
80 | </div> | 93 | </div> |
81 | 94 | ||
82 | <my-video-share #videoShareModal *ngIf="video !== null" [video]="video"></my-video-share> | 95 | <template [ngIf]="video !== null"> |
83 | <my-video-magnet #videoMagnetModal *ngIf="video !== null" [video]="video"></my-video-magnet> | 96 | <my-video-share #videoShareModal [video]="video"></my-video-share> |
97 | <my-video-magnet #videoMagnetModal [video]="video"></my-video-magnet> | ||
98 | <my-video-report #videoReportModal [video]="video"></my-video-report> | ||
99 | </template> | ||