aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu-admin.component.html
blob: 9857b2e3ed783ffc9a8a919067eb24449adc495d (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
28
29
30
31
32
33
34
35
<menu>
  <div class="panel-block">
    <a *ngIf="hasUsersRight()" routerLink="/admin/users" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-user"></span>
      List users
    </a>

    <a *ngIf="hasServerFollowRight()" routerLink="/admin/follows" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-cloud"></span>
      Manage follows
    </a>

    <a *ngIf="hasVideoAbusesRight()" routerLink="/admin/video-abuses" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-alert"></span>
      Video abuses
    </a>

    <a *ngIf="hasVideoBlacklistRight()" routerLink="/admin/video-blacklist" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-eye-close"></span>
      Video blacklist
    </a>

    <a *ngIf="hasJobsRight()" routerLink="/admin/jobs" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-tasks"></span>
      Jobs
    </a>
  </div>

  <div class="panel-block">
    <a routerLink="/videos/list" routerLinkActive="active">
      <span class="hidden-xs glyphicon glyphicon-cog"></span>
      Quit admin.
    </a>
  </div>
</menu>