|
|
|
@ -48,7 +48,7 @@ |
|
|
|
<sqx-notifo topic="apps/{{contentsState.appId}}/schemas/{{schema?.name}}/contents/{{content.id}}"></sqx-notifo> |
|
|
|
|
|
|
|
<ng-container *ngIf="contentTab | async; let tab"> |
|
|
|
<ng-container *ngIf="tab !== 'editor'"> |
|
|
|
<ng-container *ngIf="tab === 'references' || tab === 'referencing'; else defaultHeader"> |
|
|
|
<button type="button" class="btn btn-primary ml-1" (click)="publish()"> |
|
|
|
{{ 'contents.publishAll' | sqxTranslate }} |
|
|
|
</button> |
|
|
|
@ -58,7 +58,7 @@ |
|
|
|
</button> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
<ng-container *ngIf="tab === 'editor'"> |
|
|
|
<ng-template #defaultHeader> |
|
|
|
<sqx-preview-button [schema]="schema" [content]="content" [confirm]="confirmPreview"></sqx-preview-button> |
|
|
|
|
|
|
|
<ng-container *ngIf="content?.canDelete"> |
|
|
|
@ -86,7 +86,7 @@ |
|
|
|
|
|
|
|
<sqx-shortcut keys="ctrl+s" (trigger)="saveAndPublish()"></sqx-shortcut> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
</ng-template> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|