Merge branch 'feature/webtorrent-disabling' into develop
[oweals/peertube.git] / client / src / app / +admin / users / user-list / user-list.component.html
index 9d1f2e34aa620614d490baba79182e3cc30bc141..eb8d30e17f6a3ac10bc403709f132ad04a50a5a3 100644 (file)
@@ -25,6 +25,7 @@
       <div>
         <input
           type="text" name="table-filter" id="table-filter" i18n-placeholder placeholder="Filter..."
+          (keyup)="onSearch($event.target.value)"
         >
       </div>
     </div>
 
   <ng-template pTemplate="header">
     <tr>
-      <th style="width: 40px"></th>
       <th style="width: 40px">
+        <p-tableHeaderCheckbox></p-tableHeaderCheckbox>
       </th>
+      <th style="width: 40px"></th>
       <th i18n pSortableColumn="username">Username <p-sortIcon field="username"></p-sortIcon></th>
       <th i18n>Email</th>
       <th i18n>Video quota</th>
       </td>
 
       <td>
-        {{ user.username }}
-        <span *ngIf="user.blocked" class="banned-info">(banned)</span>
+        <a i18n-title title="Go to the account page" target="_blank" rel="noopener noreferrer" [routerLink]="[ '/accounts/' + user.username ]">
+          {{ user.username }}
+          <span i18n *ngIf="user.blocked" class="banned-info">(banned)</span>
+        </a>
       </td>
       <td>{{ user.email }}</td>
       <td>{{ user.videoQuotaUsed }} / {{ user.videoQuota }}</td>