Add shared to table view
This commit is contained in:
parent
72df553289
commit
05c7105643
@ -241,6 +241,11 @@
|
|||||||
(sort)="onSort($event)"
|
(sort)="onSort($event)"
|
||||||
i18n>Added</th>
|
i18n>Added</th>
|
||||||
}
|
}
|
||||||
|
@if (activeDisplayFields.includes(DisplayField.SHARED)) {
|
||||||
|
<th i18n>
|
||||||
|
Shared
|
||||||
|
</th>
|
||||||
|
}
|
||||||
@for (field of activeDisplayCustomFields; track field) {
|
@for (field of activeDisplayCustomFields; track field) {
|
||||||
<th>
|
<th>
|
||||||
{{getDisplayCustomFieldTitle(field)}}
|
{{getDisplayCustomFieldTitle(field)}}
|
||||||
@ -318,6 +323,11 @@
|
|||||||
{{d.added | customDate}}
|
{{d.added | customDate}}
|
||||||
</td>
|
</td>
|
||||||
}
|
}
|
||||||
|
@if (activeDisplayFields.includes(DisplayField.SHARED)) {
|
||||||
|
<td>
|
||||||
|
@if (d.is_shared_by_requester) { <ng-container i18n>Yes</ng-container> } @else { <ng-container i18n>No</ng-container> }
|
||||||
|
</td>
|
||||||
|
}
|
||||||
@for (field of activeDisplayCustomFields; track field) {
|
@for (field of activeDisplayCustomFields; track field) {
|
||||||
<td class="d-none d-xl-table-cell">
|
<td class="d-none d-xl-table-cell">
|
||||||
<pngx-custom-field-display [document]="d" [fieldDisplayKey]="field"></pngx-custom-field-display>
|
<pngx-custom-field-display [document]="d" [fieldDisplayKey]="field"></pngx-custom-field-display>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user