Localize non components strings in roles pages
This commit is contained in:
		| @ -1,7 +1,8 @@ | ||||
| @namespace Oqtane.Modules.Admin.Roles | ||||
| @namespace Oqtane.Modules.Admin.Roles | ||||
| @inherits ModuleBase | ||||
| @inject NavigationManager NavigationManager | ||||
| @inject IRoleService RoleService | ||||
| @inject IStringLocalizer<Edit> Localizer | ||||
|  | ||||
| <table class="table table-borderless"> | ||||
|     <tr> | ||||
| @ -26,14 +27,14 @@ | ||||
|         </td> | ||||
|         <td> | ||||
|             <select id="isautoassigned" class="form-control" @bind="@_isautoassigned"> | ||||
|                 <option value="True">Yes</option> | ||||
|                 <option value="False">No</option> | ||||
|                 <option value="True">@Localizer["Yes"]</option> | ||||
|                 <option value="False">@Localizer["No"]</option> | ||||
|             </select> | ||||
|         </td> | ||||
|     </tr> | ||||
| </table> | ||||
| <button type="button" class="btn btn-success" @onclick="SaveRole">Save</button> | ||||
| <NavLink class="btn btn-secondary" href="@NavigateUrl()">Cancel</NavLink> | ||||
| <button type="button" class="btn btn-success" @onclick="SaveRole">@Localizer["Save"]</button> | ||||
| <NavLink class="btn btn-secondary" href="@NavigateUrl()">@Localizer["Cancel"]</NavLink> | ||||
|  | ||||
| @code { | ||||
|     private int _roleid; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 hishamco
					hishamco