|
9 | 9 | string srcLogo = DotNetNuke.Entities.Tabs.TabController.CurrentPage.Title + "/DesktopModules/MVC/Upendo.Modules.UserManager/Images/Upendo-logo-trans.png";
|
10 | 10 | string ResourceFile = "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Index.resx";
|
11 | 11 | string SharedResourceFile = "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Shared.resx";
|
| 12 | + string ImpersonateResourceFile = "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx"; |
12 | 13 |
|
13 | 14 | double PageIndex = Model.PageIndex == 0 ? 1 : Model.PageIndex;
|
14 | 15 | var pageIndexMinus = (PageIndex - 1) <= 0 ? 0 : (Model.PageIndex - 1);
|
|
206 | 207 |
|
207 | 208 | </td>
|
208 | 209 | <td class="text-center">
|
209 |
| - <a data-hint="Edit" class="AM-btn AM-btn-primary AM-btn-sm edit warning" href="@Url.Action("Edit", "UserManage", new {ctl = "Edit", itemId = item.UserId})" |
210 |
| - data-toggle="tooltip" data-placement="top" title="@Localization.GetString("Edit", @SharedResourceFile)"> |
| 210 | + <a class="AM-btn AM-btn-primary AM-btn-sm edit warning" href="@Url.Action("Edit", "UserManage", new {ctl = "Edit", itemId = item.UserId})" |
| 211 | + data-toggle="tooltip" title="@Localization.GetString("Edit", @SharedResourceFile)"> |
211 | 212 | <span class="fa fa-edit color-white" aria-hidden="true"></span>
|
212 | 213 | </a>
|
213 |
| - <a data-hint="User Roles" class="AM-btn AM-btn-info AM-btn-sm edit " href="@Url.Action("UserRoles", "UserManage", new {itemId = item.UserId})" |
214 |
| - data-toggle="tooltip" data-placement="top" title="@Localization.GetString("UserRoles", @ResourceFile)"> |
| 214 | + <a class="AM-btn AM-btn-info AM-btn-sm edit " href="@Url.Action("UserRoles", "UserManage", new {itemId = item.UserId})" |
| 215 | + data-toggle="tooltip" title="@Localization.GetString("UserRoles", @ResourceFile)"> |
215 | 216 | <span class="fa fa-tasks color-white" aria-hidden="true"></span>
|
216 | 217 | </a>
|
217 | 218 | <span id="dialogs-delete" class="dnnActions" style="display: initial;">
|
218 |
| - <a data-hint="Delete" class="confirm AM-btn AM-btn-danger AM-btn-sm delete" data-placement="top" data-singleton="true" href="@Url.Action("Delete", "UserManage", new {itemId = item.UserId})" |
219 |
| - data-toggle="tooltip" data-placement="top" title="@Localization.GetString("DeleteUser", @ResourceFile)"> |
| 219 | + <a class="confirm AM-btn AM-btn-danger AM-btn-sm delete" data-placement="top" data-singleton="true" href="@Url.Action("Delete", "UserManage", new {itemId = item.UserId})" |
| 220 | + data-toggle="tooltip" title="@Localization.GetString("Delete", @SharedResourceFile)"> |
220 | 221 | <span class="fa fa-trash color-white" aria-hidden="true"></span>
|
221 | 222 | </a>
|
222 | 223 | </span>
|
223 | 224 | @if (ViewBag.IsCurrentUserSuperUser)
|
224 | 225 | {
|
225 | 226 | <span id="dialogs-impersonate" class="dnnActions" style="display: initial;">
|
226 |
| - <a data-hint="Delete" class="confirm AM-btn AM-btn-primary AM-btn-sm" data-placement="top" data-singleton="true" href="@Url.Action("ImpersonateUserById", "UserManage", new {itemId = item.UserId})" |
227 |
| - data-toggle="tooltip" data-placement="top" title="@Localization.GetString("ImpersonateUser", @ResourceFile)"> |
| 227 | + <a class="AM-btn AM-btn-primary AM-btn-sm confirm" href="@Url.Action("ImpersonateUserById", "UserManage", new {itemId = item.UserId})" |
| 228 | + data-toggle="tooltip" title="@Localization.GetString("Impersonate", @ImpersonateResourceFile)"> |
228 | 229 | <span class="fas fa-eye color-white" aria-hidden="true"></span>
|
229 | 230 | </a>
|
230 | 231 | </span>
|
|
0 commit comments