mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
fix: login button not easily found
This commit is contained in:
@@ -17,11 +17,18 @@
|
|||||||
<!-- TODO: move this to thing translate -->
|
<!-- TODO: move this to thing translate -->
|
||||||
{{ 'name' | translateSimple: item }}
|
{{ 'name' | translateSimple: item }}
|
||||||
</ion-label>
|
</ion-label>
|
||||||
<ion-button *ngIf="item.authProvider" fill="clear" (click)="toggleLogIn()" style="grid-area: login">
|
<ion-button
|
||||||
<ion-icon *ngIf="isLoggedIn; else loginIcon" slot="icon-only" color="dark" name="logout"></ion-icon>
|
*ngIf="item.authProvider"
|
||||||
|
fill="clear"
|
||||||
|
color="dark"
|
||||||
|
(click)="toggleLogIn()"
|
||||||
|
style="grid-area: login"
|
||||||
|
>
|
||||||
|
<ion-icon *ngIf="isLoggedIn; else loginIcon" slot="end" name="logout"></ion-icon>
|
||||||
<ng-template #loginIcon>
|
<ng-template #loginIcon>
|
||||||
<ion-icon slot="icon-only" color="dark" name="login"></ion-icon>
|
<ion-icon slot="end" name="login"></ion-icon>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
<ion-label>{{ 'profile.buttons.default.log_' + (isLoggedIn ? 'out' : 'in') | translate }}</ion-label>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
<ion-button
|
<ion-button
|
||||||
[disabled]="isBeginning"
|
[disabled]="isBeginning"
|
||||||
|
|||||||
@@ -462,8 +462,8 @@
|
|||||||
"role_guest": "guest user",
|
"role_guest": "guest user",
|
||||||
"buttons": {
|
"buttons": {
|
||||||
"default": {
|
"default": {
|
||||||
"log_in": "Log In",
|
"log_in": "Login",
|
||||||
"log_out": "Log Out"
|
"log_out": "Logout"
|
||||||
},
|
},
|
||||||
"paia": {
|
"paia": {
|
||||||
"log_in": "Library Login",
|
"log_in": "Library Login",
|
||||||
|
|||||||
Reference in New Issue
Block a user