diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-14 11:47:01 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-14 11:51:44 +0100 |
commit | 98bd5e2256bfdeba6d5ab07f0421acfde1a0de26 (patch) | |
tree | a1193f1af10f0da7a532d4aa6d5045e51c3d16a9 /client/src/app/shared/shared-main/angular/link.component.html | |
parent | 4ea827076df39935375d66fffb5e1e27e667111e (diff) | |
download | PeerTube-98bd5e2256bfdeba6d5ab07f0421acfde1a0de26.tar.gz PeerTube-98bd5e2256bfdeba6d5ab07f0421acfde1a0de26.tar.zst PeerTube-98bd5e2256bfdeba6d5ab07f0421acfde1a0de26.zip |
Refactor login redirection/button links
Correctly handle external auth redirection in all cases
Diffstat (limited to 'client/src/app/shared/shared-main/angular/link.component.html')
-rw-r--r-- | client/src/app/shared/shared-main/angular/link.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/angular/link.component.html b/client/src/app/shared/shared-main/angular/link.component.html index e61a1e085..2ea2df2b5 100644 --- a/client/src/app/shared/shared-main/angular/link.component.html +++ b/client/src/app/shared/shared-main/angular/link.component.html | |||
@@ -2,10 +2,10 @@ | |||
2 | <ng-content></ng-content> | 2 | <ng-content></ng-content> |
3 | </ng-template> | 3 | </ng-template> |
4 | 4 | ||
5 | <a *ngIf="!href" [routerLink]="internalLink" [attr.title]="title" [tabindex]="tabindex"> | 5 | <a *ngIf="!href" [routerLink]="internalLink" [attr.title]="title" [tabindex]="tabindex" [ngClass]="builtClasses"> |
6 | <ng-template *ngTemplateOutlet="content"></ng-template> | 6 | <ng-template *ngTemplateOutlet="content"></ng-template> |
7 | </a> | 7 | </a> |
8 | 8 | ||
9 | <a *ngIf="href" [href]="href" [target]="target" [attr.title]="title" [tabindex]="tabindex"> | 9 | <a *ngIf="href" [href]="href" [target]="target" [attr.title]="title" [tabindex]="tabindex" [ngClass]="builtClasses"> |
10 | <ng-template *ngTemplateOutlet="content"></ng-template> | 10 | <ng-template *ngTemplateOutlet="content"></ng-template> |
11 | </a> | 11 | </a> |