|
10 | 10 | <span aria-hidden="true">×</span> |
11 | 11 | </button> |
12 | 12 | <h4 class="modal-title"> |
13 | | - <span>{{l("CreateNewTenant")}}</span> |
| 13 | + <span>{{ "CreateNewTenant" | localize }}</span> |
14 | 14 | </h4> |
15 | 15 | </div> |
16 | 16 |
|
17 | 17 | <div class="modal-body"> |
18 | 18 | <div class="form-group form-float"> |
19 | 19 | <div class="form-line"> |
20 | 20 | <input class="form-control" type="text" name="TenancyName" [(ngModel)]="tenant.tenancyName" required maxlength="64" minlength="2"> |
21 | | - <label class="form-label">{{l("TenancyName")}}</label> |
| 21 | + <label class="form-label">{{ "TenancyName" | localize }}</label> |
22 | 22 | </div> |
23 | 23 | </div> |
24 | 24 | <div class="form-group form-float"> |
25 | 25 | <div class="form-line"> |
26 | 26 | <input type="text" name="Name" class="form-control" [(ngModel)]="tenant.name" required maxlength="128"> |
27 | | - <label class="form-label">{{l("Name")}}</label> |
| 27 | + <label class="form-label">{{ "Name" | localize }}</label> |
28 | 28 | </div> |
29 | 29 | </div> |
30 | 30 | <div class="form-group form-float"> |
31 | 31 | <div class="form-line"> |
32 | 32 | <input type="text" name="ConnectionString" class="form-control" [(ngModel)]="tenant.connectionString" maxlength="1024"> |
33 | | - <label class="form-label">{{l("DatabaseConnectionString")}} ({{l("Optional")}})</label> |
| 33 | + <label class="form-label">{{ "DatabaseConnectionString" | localize }} ({{ "Optional" | localize }})</label> |
34 | 34 | </div> |
35 | 35 | </div> |
36 | 36 | <div class="form-group form-float"> |
37 | 37 | <div class="form-line"> |
38 | | - <input type="email" name="AdminEmailAddress" class="form-control" [(ngModel)]="tenant.adminEmailAddress" required maxlength="256" pattern="^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"> |
39 | | - <label class="form-label">{{l("AdminEmailAddress")}}</label> |
| 38 | + <input type="email" name="AdminEmailAddress" class="form-control" [(ngModel)]="tenant.adminEmailAddress" required maxlength="256" pattern="^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{1,})+$"> |
| 39 | + <label class="form-label">{{ "AdminEmailAddress" | localize }}</label> |
40 | 40 | </div> |
41 | 41 | </div> |
42 | 42 | <div class="form-group form-float"> |
43 | 43 | <div class=""> |
44 | 44 | <input id="isactive" type="checkbox" name="IsActive" [(ngModel)]="tenant.isActive" checked class="form-control" /> |
45 | | - <label for="isactive" class="form-label">{{l("IsActive")}}</label> |
| 45 | + <label for="isactive" class="form-label">{{ "IsActive" | localize }}</label> |
46 | 46 | </div> |
47 | 47 | </div> |
48 | | - <p>{{l("DefaultPasswordIs","123qwe")}}</p> |
| 48 | + <p>{{ "DefaultPasswordIs" | localize }} 123qwe</p> |
49 | 49 | </div> |
50 | 50 |
|
51 | 51 | <div class="modal-footer"> |
52 | | - <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">{{l("Cancel")}}</button> |
53 | | - <button [disabled]="!createTenantForm.form.valid || saving" type="submit" class="btn btn-primary blue">{{l("Save")}}</button> |
| 52 | + <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">{{ "Cancel" | localize }}</button> |
| 53 | + <button [disabled]="!createTenantForm.form.valid || saving" type="submit" class="btn btn-primary blue">{{ "Save" | localize }}</button> |
54 | 54 | </div> |
55 | 55 |
|
56 | 56 | </form> |
|
0 commit comments