<div class="header">
+ <div class="peertube-select-container">
+ <select [(ngModel)]="logType" (ngModelChange)="refresh()">
+ <option *ngFor="let logTypeChoice of logTypeChoices" [value]="logTypeChoice.id">{{ logTypeChoice.label }}</option>
+ </select>
+ </div>
+
<div class="peertube-select-container">
<select [(ngModel)]="startDate" (ngModelChange)="refresh()">
<option *ngFor="let timeChoice of timeChoices" [value]="timeChoice.id">{{ timeChoice.label }}</option>
</select>
</div>
- <div class="peertube-select-container">
+ <div class="peertube-select-container" *ngIf="!isAuditLog()">
<select [(ngModel)]="level" (ngModelChange)="refresh()">
<option *ngFor="let levelChoice of levelChoices" [value]="levelChoice.id">{{ levelChoice.label }}</option>
</select>
<span class="log-date">[{{ log.localeDate }}]</span>
+ <strong class="log-by" *ngIf="log.by" i18n>By {{ log.by }} -></strong>
+ <strong class="log-domain-action" *ngIf="log.domain">{{ log.domain }} -> {{ log.action }}</strong>
+
{{ log.message }}
- {{ log.meta }}
+ <pre>{{ log.meta }}</pre>
</div>
</div>
</div>