aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/menu/menu-admin.component.html
blob: 9857b2e3ed783ffc9a8a919067eb24449adc495d (plain) (tree)
1
2
3
4
5
6
7
8
9
      
                           
                                                                                   
                                                              

                
 
                                                                                            
                                                               
                    
        
 
                                                                                                
                                                               

                  
 
                                                                                                      


                                                                   




                                                                                 


                           
                                                           
                                                             

                 

        
<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>