Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.6 KiB

<ng-container *ngIf="isLocalized">
<button type="button" class="btn btn-outline-secondary btn-sm ms-1 dropdown-toggle" title="{{ 'common.copy' | sqxTranslate }}" (click)="dropdown.toggle()" #button tabindex="-1">
<i class="icon-copy"></i>
</button>
<ng-container *sqxModal="dropdown">
<div class="dropdown-menu" [sqxAnchoredTo]="button" @fade>
<div class="section d-flex justify-content-end">
<button type="button" class="btn btn-primary" (click)="copy()" tabindex="-1">
{{ 'common.copy' | sqxTranslate }}
</button>
</div>
<div class="dropdown-divider"></div>
<div class="section row">
<label class="col-auto col-form-label" for="languageSource">{{ 'common.from' | sqxTranslate }}</label>
<div class="col">
<select class="form-select" id="languagesSource"
[ngModel]="copySource"
(ngModelChange)="setCopySource($event)">
<option *ngFor="let language of languages" [ngValue]="language.iso2Code">{{language.iso2Code}}</option>
</select>
</div>
</div>
<div class="dropdown-divider"></div>
<div class="section">
<label>{{ 'common.to' | sqxTranslate }}</label>
<sqx-checkbox-group [(ngModel)]="copyTargets" [values]="languageCodes" layout="Multiline"></sqx-checkbox-group>
</div>
</div>
</ng-container>
</ng-container>