[task 97298] displaying mail domains only on register

This commit is contained in:
Joost
2022-12-20 15:01:53 +01:00
parent 3690dceb75
commit 3f7bdb284f
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
<div class="container">
<h2>{{MESSAGE_PREFIX + '.header'|translate}}</h2>
<p>{{MESSAGE_PREFIX + '.info' | translate}}</p>
<p *ngIf="validMailDomains.length!= 0">Accounts can be registered for mail addresses of the domains {{ validMailDomains.join(", ")}} </p>
<p
*ngIf="validMailDomains.length!= 0 && MESSAGE_PREFIX==='register-page.registration'">{{ MESSAGE_PREFIX + '.info.maildomain' | translate}} {{ validMailDomains.join(", ")}} </p>
<form [class]="'ng-invalid'" [formGroup]="form" (ngSubmit)="register()">

View File

@@ -3029,7 +3029,7 @@
"register-page.registration.error.maildomain": "this email address is not on the list of domains who can register. Allowed domains are {{ domains }}",
"register-page.registration.info.maildomain": "Accounts can be registered for mail addresses of the domains",
"relationships.add.error.relationship-type.content": "No suitable match could be found for relationship type {{ type }} between the two items",