1
Vote

Content Preview possibility from Admin editor

description

Currently Preview is only possible in SummaryAdmin view, but it would make more sense having this button somewhere near publish button.

An easy solution is adding following to the Content.PublishButton.cshtml
        @Html.ActionLink(T("Preview").Text, "Preview", "Item", new { area = "Contents", id = ((ContentItem)Model.ContentItem).Id }, new { @class="button" })

comments