]>
Commit | Line | Data |
---|---|---|
767619f6 | 1 | <div class="root"> |
9469783d | 2 | <div *ngIf="status !== 401 && status !== 403 && status !== 418" class="box"> |
19b7ebfa | 3 | <strong>{{ status }}.</strong> |
4c8749cb | 4 | <span class="ms-1 muted" i18n>That's an error.</span> |
767619f6 | 5 | |
86598013 RK |
6 | <div class="text mt-4"> |
7 | <ng-container *ngIf="type === 'video'" i18n>We couldn't find any video tied to the URL {{ pathname }} you were looking for.</ng-container> | |
8 | <ng-container *ngIf="type !== 'video'" i18n>We couldn't find any resource tied to the URL {{ pathname }} you were looking for.</ng-container> | |
19b7ebfa RK |
9 | </div> |
10 | ||
b788e691 | 11 | <div class="muted mt-4"> |
19b7ebfa RK |
12 | <span i18n="Possible reasons preceding a list of reasons a `Not Found` error page may occur">Possible reasons:</span> |
13 | ||
14 | <ul> | |
19b7ebfa | 15 | <li i18n>You may have used an outdated or broken link</li> |
86598013 RK |
16 | <li> |
17 | <ng-container *ngIf="type === 'video'" i18n>The video may have been moved or deleted</ng-container> | |
18 | <ng-container *ngIf="type !== 'video'" i18n>The resource may have been moved or deleted</ng-container> | |
19 | </li> | |
19b7ebfa RK |
20 | <li i18n>You may have typed the address or URL incorrectly</li> |
21 | </ul> | |
22 | </div> | |
23 | </div> | |
24 | ||
9469783d | 25 | <div *ngIf="status === 401" class="box"> |
26 | <strong>{{ status }}.</strong> | |
27 | <span class="ms-1 muted" i18n>You are not authorized here.</span> | |
28 | ||
29 | <div class="text mt-4"> | |
30 | <ng-container *ngIf="type === 'video'" i18n>You might need to login to see the video.</ng-container> | |
31 | <ng-container *ngIf="type !== 'video'" i18n>You might need to login to see the resource.</ng-container> | |
32 | </div> | |
33 | ||
98bd5e22 | 34 | <my-login-link className="peertube-button-big-link orange-button mt-5"></my-login-link> |
9469783d | 35 | </div> |
36 | ||
ab398a05 RK |
37 | <div *ngIf="status === 403" class="box"> |
38 | <strong>{{ status }}.</strong> | |
4c8749cb | 39 | <span class="ms-1 muted" i18n>You are not authorized here.</span> |
ab398a05 | 40 | |
86598013 RK |
41 | <div class="text mt-4"> |
42 | <ng-container *ngIf="type === 'video'" i18n>You might need to check your account is allowed by the video or instance owner.</ng-container> | |
43 | <ng-container *ngIf="type !== 'video'" i18n>You might need to check your account is allowed by the resource or instance owner.</ng-container> | |
ab398a05 RK |
44 | </div> |
45 | </div> | |
46 | ||
19b7ebfa RK |
47 | <div *ngIf="status === 418" class="box"> |
48 | <strong>{{ status }}.</strong> | |
4c8749cb | 49 | <span class="ms-1 muted">I'm a teapot.</span> |
19b7ebfa RK |
50 | |
51 | <div class="text mt-4" i18n="Description of a tea flavour, keeping the 'requested entity body' as a technical expression referring to a web request"> | |
52 | The requested entity body blends sweet bits with a mellow earthiness. | |
53 | </div> | |
b788e691 | 54 | <div class="muted" i18n="This is about Sepia's tea">Sepia seems to like it.</div> |
767619f6 | 55 | </div> |
19b7ebfa | 56 | |
422a11e2 | 57 | <img src='/client/assets/images/mascot/{{ getMascotName() }}.svg' alt='{{ status }} mascot' class="mb-4 h-auto"> |
767619f6 | 58 | </div> |