Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

1.3 KB
Raw Blame
<div class="modal-header">
  <h4 class="modal-title">
    <svg [lucideIcon]="icons.LucideUserRoundPen"></svg>
    <span>{{ user.name }}</span>
  </h4>
  <h4 class="modal-title ms-auto">
    <span l10nTranslate>Edit user</span>
  </h4>
  <button (click)="layout.closeDialog()" aria-label="Close" class="btn-close btn-close-white ms-2" type="button"></button>
</div>
<div class="modal-body">
  <div class="d-flex align-items-center">
    <div class="form-check form-switch form-check-inline">
      <div class="d-flex">
        <label class="form-check-label">
          <input
            [(ngModel)]="isManager"
            class="form-check-input"
            type="checkbox"
          />
          <span l10nTranslate>Set as group manager</span>
          <svg class="ms-1" [lucideIcon]="icons.LucideKeyRound"></svg>
        </label>
      </div>
    </div>
  </div>
  <div class="small mt-3" l10nTranslate>As a manager, the user will be able to manage group members but not group properties.</div>
</div>
<div class="modal-footer">
  <button (click)="layout.closeDialog()" class="btn btn-secondary ms-auto" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>
  <button (click)="onSubmit()"
          [disabled]="submitted" class="btn btn-primary"
          type="button"
          l10nTranslate>
    Confirm
  </button>
</div>