diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-27 10:15:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-27 10:15:55 +0200 |
commit | 8f581725651c4b2c213d75fc028e306bbf239d3e (patch) | |
tree | 8deb842327c2a227d8e302d9a84bd9f8f9f7affa /client/src/app/modal/account-setup-modal.component.html | |
parent | 1ff15061b31245df4248e47228d0a90b07ab3f01 (diff) | |
download | PeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.tar.gz PeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.tar.zst PeerTube-8f581725651c4b2c213d75fc028e306bbf239d3e.zip |
Allow accounts to skip account setup modal
Diffstat (limited to 'client/src/app/modal/account-setup-modal.component.html')
-rw-r--r-- | client/src/app/modal/account-setup-modal.component.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/client/src/app/modal/account-setup-modal.component.html b/client/src/app/modal/account-setup-modal.component.html deleted file mode 100644 index d1f153835..000000000 --- a/client/src/app/modal/account-setup-modal.component.html +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | <ng-template #modal let-hide="close"> | ||
2 | <div class="modal-header"> | ||
3 | <h4 i18n class="modal-title">Welcome to {{ instanceName }}, dear user!</h4> | ||
4 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon> | ||
5 | </div> | ||
6 | |||
7 | <div class="modal-body"> | ||
8 | <img class="mascot" src="/client/assets/images/mascot/happy.svg" alt=""> | ||
9 | |||
10 | <div i18n class="subtitle">It's time to set up your account profile!</div> | ||
11 | |||
12 | <p i18n>Help moderators and other users to know <strong>who you are</strong> by:</p> | ||
13 | |||
14 | <ul> | ||
15 | <li *ngIf="!hasAccountAvatar" i18n>Uploading an <strong>avatar</strong></li> | ||
16 | <li *ngIf="!hasAccountDescription" i18n>Writing a <strong>description</strong></li> | ||
17 | </ul> | ||
18 | </div> | ||
19 | |||
20 | <div class="modal-footer inputs"> | ||
21 | <input | ||
22 | type="button" role="button" i18n-value value="Remind me later" class="peertube-button grey-button" | ||
23 | (click)="hide()" (key.enter)="hide()" | ||
24 | > | ||
25 | |||
26 | <a i18n (click)="hide()" (key.enter)="hide()" | ||
27 | class="peertube-button-link orange-button" routerLink="/my-account" | ||
28 | rel="noopener noreferrer" ngbAutofocus> | ||
29 | Set up | ||
30 | </a> | ||
31 | </div> | ||
32 | |||
33 | </ng-template> | ||