Merge pull request #2379 from crazyserver/MOBILE-3401
MOBILE-3401 login: Change texts for entered sitemain
commit
ac7ddae242
|
@ -25,11 +25,11 @@
|
|||
|
||||
<ion-list *ngIf="!fixedSites" [class.hidden]="!hasSites && !enteredSiteUrl" class="core-login-site-list">
|
||||
<ion-item no-lines class="core-login-site-list-title"><h2 class="item-heading">{{ 'core.login.selectsite' | translate }}</h2></ion-item>
|
||||
<ion-item *ngIf="enteredSiteUrl" (click)="connect($event, enteredSiteUrl.url)" [title]="enteredSiteUrl.name" detail-push class="core-login-entered-site">
|
||||
<ion-item *ngIf="enteredSiteUrl" (click)="connect($event, enteredSiteUrl.url)" [title]="'core.login.connect' | translate" detail-push class="core-login-entered-site">
|
||||
<ion-thumbnail item-start>
|
||||
<core-icon name="fa-pencil"></core-icon>
|
||||
</ion-thumbnail>
|
||||
<h2 text-wrap>{{enteredSiteUrl.name}}</h2>
|
||||
<h2 text-wrap>{{ 'core.login.yourenteredsite' | translate }}</h2>
|
||||
<p>{{enteredSiteUrl.noProtocolUrl}}</p>
|
||||
</ion-item>
|
||||
|
||||
|
|
|
@ -301,7 +301,7 @@ export class CoreLoginSitePage {
|
|||
if (this.siteForm.valid && search.length >= 3) {
|
||||
this.enteredSiteUrl = {
|
||||
url: search,
|
||||
name: this.translate.instant('core.login.yourenteredsite'),
|
||||
name: 'connect',
|
||||
noProtocolUrl: CoreUrl.removeProtocol(search),
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue