Merge pull request #2379 from crazyserver/MOBILE-3401

MOBILE-3401 login: Change texts for entered site
main
Juan Leyva 2020-05-22 14:29:41 +02:00 committed by GitHub
commit ac7ddae242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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 {