diff options
Diffstat (limited to 'client/src/app/+page-not-found/page-not-found.component.html')
-rw-r--r-- | client/src/app/+page-not-found/page-not-found.component.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/client/src/app/+page-not-found/page-not-found.component.html b/client/src/app/+page-not-found/page-not-found.component.html index 70ede26e8..c6ca8670e 100644 --- a/client/src/app/+page-not-found/page-not-found.component.html +++ b/client/src/app/+page-not-found/page-not-found.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <div class="root"> | 1 | <div class="root"> |
2 | <div *ngIf="status !== 403 && status !== 418" class="box"> | 2 | <div *ngIf="status !== 401 && status !== 403 && status !== 418" class="box"> |
3 | <strong>{{ status }}.</strong> | 3 | <strong>{{ status }}.</strong> |
4 | <span class="ms-1 muted" i18n>That's an error.</span> | 4 | <span class="ms-1 muted" i18n>That's an error.</span> |
5 | 5 | ||
@@ -22,6 +22,21 @@ | |||
22 | </div> | 22 | </div> |
23 | </div> | 23 | </div> |
24 | 24 | ||
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 | |||
34 | <a class="peertube-button-link orange-button mt-5" i18n routerLink="/login"> | ||
35 | Login | ||
36 | </a> | ||
37 | |||
38 | </div> | ||
39 | |||
25 | <div *ngIf="status === 403" class="box"> | 40 | <div *ngIf="status === 403" class="box"> |
26 | <strong>{{ status }}.</strong> | 41 | <strong>{{ status }}.</strong> |
27 | <span class="ms-1 muted" i18n>You are not authorized here.</span> | 42 | <span class="ms-1 muted" i18n>You are not authorized here.</span> |