Skip to content

Commit

Permalink
Show Widget ContentType
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Serralheiro committed Dec 7, 2020
1 parent 6b528a0 commit 0be7f4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
@if (await AuthorizationService.AuthorizeAsync(User, CommonPermissions.EditContent, contentItem))
{
<div class="d-inline">
<a admin-for="@contentItem" asp-route-returnUrl="@FullRequestPath" /> - <small class="text-muted">@T["Widget"]</small>
<a admin-for="@contentItem" asp-route-returnUrl="@FullRequestPath" /> - <small class="text-muted">@contentItem.ContentType @T["Widget"]</small>
</div>
}
else
{
<div class="d-inline">
@contentItem - <small class="text-muted">@T["Widget"]</small>
@contentItem - <small class="text-muted">@contentItem.ContentType @T["Widget"]</small>
</div>
}
@if (Model.Tags != null)
Expand Down

0 comments on commit 0be7f4b

Please sign in to comment.