]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/modal/instance-config-warning-modal.component.html
Merge branch 'release/4.2.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / modal / instance-config-warning-modal.component.html
CommitLineData
43d0ea7f
C
1<ng-template #modal let-hide="close">
2 <div class="modal-header">
589d9f55 3 <h4 i18n class="modal-title">Configuration warning!</h4>
43d0ea7f
C
4 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
5 </div>
6
7 <div class="modal-body">
81fe3c67 8 <img class="mascot" src="/client/assets/images/mascot/oh.svg" alt="mascot" />
43d0ea7f 9
80c7779e 10 <p i18n>You enabled user registration on your instance but did not configure the following fields:</p>
589d9f55
C
11
12 <ul>
13 <li i18n *ngIf="about.instance.name.toLowerCase() === 'peertube'">Instance name</li>
592c735c 14 <li i18n *ngIf="isDefaultShortDescription(about.instance.shortDescription)">Instance short description</li>
589d9f55
C
15
16 <li i18n *ngIf="!about.instance.administrator">Who you are</li>
17 <li i18n *ngIf="!about.instance.maintenanceLifetime">How long you plan to maintain your instance</li>
db8b2f56 18 <li i18n *ngIf="!about.instance.businessModel">How you plan to pay for keeping your instance running</li>
589d9f55
C
19
20 <li i18n *ngIf="!about.instance.moderationInformation">How you will moderate your instance</li>
21 <li i18n *ngIf="!about.instance.terms">Instance terms</li>
22 </ul>
23
97eae838 24 <p i18n>
81fe3c67
RK
25 Please consider configuring these fields to help people to choose <strong>the appropriate instance</strong>.
26 Without them, your instance may not be referenced on the <a target="_blank" rel="noopener noreferrer" href="https://joinpeertube.org">JoinPeerTube website</a>.
592c735c 27 </p>
43d0ea7f
C
28 </div>
29
30 <div class="modal-footer inputs">
589d9f55
C
31 <my-peertube-checkbox
32 inputName="stopDisplayModal" [(ngModel)]="stopDisplayModal"
33 i18n-labelText labelText="Don't show me this warning anymore"
34 >
589d9f55
C
35 </my-peertube-checkbox>
36
a6d5ff76 37 <input
266947e5 38 type="button" role="button" i18n-value value="Close" class="peertube-button grey-button"
a6d5ff76
RK
39 (click)="hide()" (key.enter)="hide()"
40 >
266947e5
C
41
42 <a i18n class="peertube-button-link orange-button" ngbAutofocus
80c7779e
RK
43 href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">
44 Configure
45 </a>
43d0ea7f
C
46 </div>
47
48</ng-template>