How to add alternate for ContentPicker.SummaryAdmin view of ContentPicker?

Topics: Customizing Orchard, Installing Orchard, Writing modules
Mar 20, 2015 at 12:13 PM
Edited Mar 20, 2015 at 1:18 PM
I want to add alternate for ContentPicker.SummaryAdmin so that I can remove the following code from this view:
 @if (Model.Content != null) {
        <div class="primary">@Display(Model.Content)</div>
I couldn't figure out how to add alternate for this view. Or is there any other way to achieve this.

Mar 20, 2015 at 9:16 PM
One simple way, without coding, is to create a Themes/TheAdmin/Views/ContentPicker.SummaryAdmin.cshtml file
Based on the Orchard.ContentPicker/Views/ContentPicker.SummaryAdmin.cshtml file