Skip to content

Commit 967b635

Browse files
authored
добавить иконки в главное меню (#3682)
1 parent 795581f commit 967b635

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/JoinRpg.Portal/Views/Shared/Components/MainMenu/MainMenu.cshtml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@
3030
<li>
3131
@if (!project.HasMyMasterAccess)
3232
{
33-
@Html.ActionLink(@project.ProjectName, "MyClaim", "Claim", new { ProjectId = project.ProjectId.Value, area = "" }, null)
34-
33+
<a asp-action="MyClaim" asp-action="Claim" asp-route-ProjectId="@project.ProjectId.Value" asp-area=""><span class="glyphicon glyphicon-file"></span> @project.ProjectName</a>
3534
}
3635
else
3736
{
38-
@Html.ActionLink(@project.ProjectName, "Details", "Game", new { ProjectId = project.ProjectId.Value, area = "" }, null)
37+
<a asp-action="Details" asp-action="Game" asp-route-ProjectId="@project.ProjectId.Value" asp-area=""><span class="glyphicon glyphicon-edit"></span> @project.ProjectName</a>
3938
}
4039
</li>
4140
}

0 commit comments

Comments
 (0)