aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.html
blob: 46043577c96b9bc1e38ba2da19585dec4aa083d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<h3>Video abuses list</h3>

<table class="table table-hover">
  <thead>
    <tr>
      <th class="cell-id">ID</th>
      <th class="cell-reason">Reason</th>
      <th>Reporter pod host</th>
      <th>Reporter username</th>
      <th>Video</th>
      <th>Created at</th>
    </tr>
  </thead>

  <tbody>
    <tr *ngFor="let videoAbuse of videoAbuses">
      <td>{{ videoAbuse.id }}</td>
      <td>{{ videoAbuse.reason }}</td>
      <td>{{ videoAbuse.reporterPodHost }}</td>
      <td>{{ videoAbuse.reporterUsername }}</td>
      <td>
        <a [routerLink]="buildVideoLink(videoAbuse)" title="Go to video">{{ videoAbuse.videoId }}</a>
      </td>
      <td>{{ videoAbuse.createdAt | date: 'medium' }}</td>
    </tr>
  </tbody>
</table>