]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/modal/account-setup-warning-modal.component.html
Allow accounts to skip account setup modal
[github/Chocobozzz/PeerTube.git] / client / src / app / modal / account-setup-warning-modal.component.html
similarity index 72%
rename from client/src/app/modal/account-setup-modal.component.html
rename to client/src/app/modal/account-setup-warning-modal.component.html
index d1f1538359b69aea8b31ab30e8cd87ef834c4eda..614c0693d6ba82b5a1f6c1f077205c301604bb49 100644 (file)
     <p i18n>Help moderators and other users to know <strong>who you are</strong> by:</p>
 
     <ul>
-      <li *ngIf="!hasAccountAvatar" i18n>Uploading an <strong>avatar</strong></li>
-      <li *ngIf="!hasAccountDescription" i18n>Writing a <strong>description</strong></li>
+      <li *ngIf="!hasAccountAvatar(user)" i18n>Uploading an <strong>avatar</strong></li>
+      <li *ngIf="!hasAccountDescription(user)" i18n>Writing a <strong>description</strong></li>
     </ul>
   </div>
 
   <div class="modal-footer inputs">
+    <my-peertube-checkbox
+      inputName="stopDisplayModal" [(ngModel)]="stopDisplayModal"
+      i18n-labelText labelText="Don't show me this anymore"
+    >
+    </my-peertube-checkbox>
+
     <input
       type="button" role="button" i18n-value value="Remind me later" class="peertube-button grey-button"
       (click)="hide()" (key.enter)="hide()"