<app-widget-frame [title]="savedView.name">

  <a class="btn-link" header-buttons [routerLink]="[]" (click)="showAll()" i18n>Show all</a>


  <table content class="table table-sm table-hover table-borderless mb-0">
    <thead>
      <tr>
        <th i18n>Created</th>
        <th scope="col" i18n>Title</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let doc of documents" [routerLink]="['/', 'documents', doc.id]">
        <td>{{doc.created | customDate}}</td>
        <td>{{doc.title | documentTitle}}<app-tag [tag]="t" *ngFor="let t of doc.tags$ | async" class="ms-1" (click)="clickTag(t); $event.stopPropagation();"></app-tag></td>
      </tr>
    </tbody>
  </table>

</app-widget-frame>
