]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/modal/instance-config-warning-modal.component.html
Make video-add-nav tabs scrollable on small devices (#2677)
[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">
2377a7f3 8 <img class="mascot" src="/client/assets/images/mascot/oh.png" alt="mascot" />
43d0ea7f 9
589d9f55
C
10 <p i18n>Hello dear administrator. You enabled user registration on your instance but you did not configure the following fields:</p>
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>
18 <li i18n *ngIf="!about.instance.businessModel">How you plan to pay your instance</li>
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>
592c735c
C
25 Please consider to configure these fields to help people to choose <strong>the appropriate instance</strong>.
26 Without them, your instance may not be referenced on <a target="_blank" rel="noopener noreferrer" href="https://joinpeertube.org">JoinPeerTube website</a>.
27 </p>
589d9f55
C
28
29 <div class="configure-instance">
2377a7f3 30 <a i18n class="action-button action-button-configure" href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a>
589d9f55
C
31 </div>
32
43d0ea7f
C
33 </div>
34
35 <div class="modal-footer inputs">
589d9f55
C
36 <my-peertube-checkbox
37 inputName="stopDisplayModal" [(ngModel)]="stopDisplayModal"
38 i18n-labelText labelText="Don't show me this warning anymore"
39 >
40
41 </my-peertube-checkbox>
42
a6d5ff76
RK
43 <input
44 type="button" role="button" i18n-value value="Close" class="action-button action-button-cancel"
45 (click)="hide()" (key.enter)="hide()"
46 >
43d0ea7f
C
47 </div>
48
49</ng-template>