1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

[SM-463] add link to secrets list; use bitLink in SM tables (#4685)

* add link to secrets list

* use bitLink in SM tables

* move class to cell
This commit is contained in:
Will Martin 2023-02-15 11:35:31 -05:00 committed by GitHub
parent 77b43e65e3
commit ab81758522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -58,7 +58,7 @@
<i class="bwi bwi-collection tw-text-xl tw-text-muted" aria-hidden="true"></i>
</td>
<td bitCell class="tw-break-all">
<a [routerLink]="[project.id]">{{ project.name }}</a>
<a bitLink [routerLink]="[project.id]">{{ project.name }}</a>
</td>
<td bitCell>{{ project.revisionDate | date: "medium" }}</td>
<td bitCell>

View File

@ -58,8 +58,8 @@
<td bitCell class="tw-w-0 tw-pr-0">
<i class="bwi bwi-wrench tw-text-xl tw-text-muted" aria-hidden="true"></i>
</td>
<td bitCell>
<a [routerLink]="serviceAccount.id" class="tw-break-all">
<td bitCell class="tw-break-all">
<a bitLink [routerLink]="serviceAccount.id">
{{ serviceAccount.name }}
</a>
</td>

View File

@ -58,7 +58,11 @@
<td bitCell class="tw-w-0 tw-pr-0">
<i class="bwi bwi-key tw-text-xl tw-text-muted" aria-hidden="true"></i>
</td>
<td bitCell class="tw-break-all">{{ secret.name }}</td>
<td bitCell class="tw-break-all">
<button type="button" bitLink (click)="editSecretEvent.emit(secret.id)">
{{ secret.name }}
</button>
</td>
<td bitCell>
<span
*ngFor="let project of secret.projects"