|
@ -35,9 +35,7 @@ |
|
|
@if (element.type === 'PUBLIC') { |
|
|
@if (element.type === 'PUBLIC') { |
|
|
<div class="align-items-center d-flex"> |
|
|
<div class="align-items-center d-flex"> |
|
|
<ion-icon class="mr-1" name="link-outline" /> |
|
|
<ion-icon class="mr-1" name="link-outline" /> |
|
|
<a |
|
|
<a target="_blank" [href]="getPublicUrl(element.id)" |
|
|
href="{{ baseUrl }}/{{ defaultLanguageCode }}/p/{{ element.id }}" |
|
|
|
|
|
target="_blank" |
|
|
|
|
|
>{{ baseUrl }}/{{ defaultLanguageCode }}/p/{{ element.id }}</a |
|
|
>{{ baseUrl }}/{{ defaultLanguageCode }}/p/{{ element.id }}</a |
|
|
> |
|
|
> |
|
|
</div> |
|
|
</div> |
|
@ -59,8 +57,8 @@ |
|
|
</button> |
|
|
</button> |
|
|
<mat-menu #transactionMenu="matMenu" xPosition="before"> |
|
|
<mat-menu #transactionMenu="matMenu" xPosition="before"> |
|
|
@if (element.type === 'PUBLIC') { |
|
|
@if (element.type === 'PUBLIC') { |
|
|
<button mat-menu-item (click)="copyToClipBoard(element.id)"> |
|
|
<button mat-menu-item (click)="onCopyToClipboard(element.id)"> |
|
|
<ng-container i18n>Copy to clipboard</ng-container> |
|
|
<ng-container i18n>Copy link to clipboard</ng-container> |
|
|
</button> |
|
|
</button> |
|
|
} |
|
|
} |
|
|
<button mat-menu-item (click)="onDeleteAccess(element.id)"> |
|
|
<button mat-menu-item (click)="onDeleteAccess(element.id)"> |
|
|