Browse Source

Just another fix.

pull/490/head
Sebastian 6 years ago
parent
commit
d0c2a09ea0
  1. 8
      frontend/app/features/content/pages/content/field-languages.component.html

8
frontend/app/features/content/pages/content/field-languages.component.html

@ -1,6 +1,12 @@
<ng-container *ngIf="field.isLocalizable && languages.length > 1">
<button *ngIf="!field.properties.isComplexUI" type="button" class="btn btn-text-secondary btn-sm mr-1" (click)="toggleShowAllControls()">
{{showAllControls ? 'Single Language' : 'All Languages'}}
<ng-container *ngIf="showAllControls; else singleLanguage">
<span>Single Language</span>
</ng-container>
<ng-template #singleLanguage>
<span>All Languages</span>
</ng-template>
</button>
<ng-container *ngIf="field.properties.isComplexUI || !showAllControls">

Loading…
Cancel
Save