Localize components for the tenants pages
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| @namespace Oqtane.Modules.Admin.Tenants | ||||
| @namespace Oqtane.Modules.Admin.Tenants | ||||
| @inherits ModuleBase | ||||
| @inject NavigationManager NavigationManager | ||||
| @inject ITenantService TenantService | ||||
| @ -6,7 +6,7 @@ | ||||
| <table class="table table-borderless"> | ||||
|     <tr> | ||||
|         <td> | ||||
|             <Label For="name" HelpText="The name of the tenant">Name: </Label> | ||||
|             <Label For="name" HelpText="The name of the tenant" ResourceKey="Name">Name: </Label> | ||||
|         </td> | ||||
|         <td> | ||||
|             @if (name == TenantNames.Master) | ||||
| @ -21,7 +21,7 @@ | ||||
|     </tr> | ||||
|     <tr> | ||||
|         <td> | ||||
|             <Label For="connectionstring" HelpText="The database connection string">Connection String: </Label> | ||||
|             <Label For="connectionstring" HelpText="The database connection string" ResourceKey="ConnectionString">Connection String: </Label> | ||||
|         </td> | ||||
|         <td> | ||||
|             <textarea id="connectionstring" class="form-control" @bind="@connectionstring" rows="3" readonly></textarea> | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| @namespace Oqtane.Modules.Admin.Tenants | ||||
| @namespace Oqtane.Modules.Admin.Tenants | ||||
| @inherits ModuleBase | ||||
| @inject ITenantService TenantService | ||||
| @inject IAliasService AliasService | ||||
| @ -16,8 +16,8 @@ else | ||||
|             <th>Name</th> | ||||
|         </Header> | ||||
|         <Row> | ||||
|             <td><ActionLink Action="Edit" Parameters="@($"id=" + context.TenantId.ToString())" /></td> | ||||
|             <td><ActionDialog Header="Delete Tenant" Message="@("Are You Sure You Wish To Delete The " + context.Name + " Tenant?")" Action="Delete" Security="SecurityAccessLevel.Host" Class="btn btn-danger" OnClick="@(async () => await DeleteTenant(context))" Disabled="@(context.Name == TenantNames.Master)" /></td> | ||||
|             <td><ActionLink Action="Edit" Parameters="@($"id=" + context.TenantId.ToString())" ResourceKey="EditTenant" /></td> | ||||
|             <td><ActionDialog Header="Delete Tenant" Message="@("Are You Sure You Wish To Delete The " + context.Name + " Tenant?")" Action="Delete" Security="SecurityAccessLevel.Host" Class="btn btn-danger" OnClick="@(async () => await DeleteTenant(context))" Disabled="@(context.Name == TenantNames.Master)" ResourceKey="DeleteTenant" /></td> | ||||
|             <td>@context.Name</td> | ||||
|         </Row> | ||||
|     </Pager> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 hishamco
					hishamco