Merge pull request #2936 from dpalou/MOBILE-3793

MOBILE-3793 forum: Use 'Save changes' text when editing
main
Noel De Martin 2021-09-06 11:08:23 +02:00 committed by GitHub
commit 54e52b48d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@
<ion-row>
<ion-col>
<ion-button expand="block" (click)="send()" [disabled]="formData.subject == '' || formData.message == null">
{{ 'addon.mod_forum.posttoforum' | translate }}
<span *ngIf="formData.isEditing">{{ 'core.savechanges' | translate }}</span>
<span *ngIf="!formData.isEditing">{{ 'addon.mod_forum.posttoforum' | translate }}</span>
</ion-button>
</ion-col>
<ion-col>