Skip to content

Commit

Permalink
Moved QOTM link. Fixed a bug in the sidebar links for QOTM.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyarbro committed Oct 29, 2018
1 parent 8c1e098 commit 25f0020
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Forum3/Views/Topics/_DisplayItem.cshtml
Expand Up @@ -36,12 +36,6 @@
</span>
}

@if (Model.CanQuote) {
<a class="pad-right note" asp-controller="@nameof(Quotes)" asp-action="@nameof(Quotes.Create)" asp-route-id="@Model.Id">
<img class="align-middle" src="~/images/quote.png" alt="QOTM" title="QOTM" />
</a>
}

@if (Model.CanEdit) {
<a class="pad-right note" asp-controller="@nameof(Messages)" asp-action="@nameof(Messages.Edit)" asp-route-id="@Model.Id">
<img class="align-middle" src="~/images/edit.png" alt="Edit" title="Edit" />
Expand Down Expand Up @@ -99,6 +93,12 @@
</div>

<div class="float-right note">
@if (Model.CanQuote) {
<a class="pad-right note" asp-controller="@nameof(Quotes)" asp-action="@nameof(Quotes.Create)" asp-route-id="@Model.Id">
QOTM
</a>
}

<a asp-action="@nameof(Topics.Display)" asp-route-id="@Model.Id">#@Model.Id</a>
</div>

Expand Down

0 comments on commit 25f0020

Please sign in to comment.