Merge pull request #6268 from leventesen/update/contentpicker-edit-link

[Fixes #6267] Use admin link for ContentPicker
This commit is contained in:
Sébastien Ros 2016-01-14 12:10:58 -08:00
commit c6b9d36c41

View File

@ -50,7 +50,7 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<span data-id="@contentItem.Id" data-fieldid="@idsFieldId" class="content-picker-item">@Html.ItemEditLink(contentItem) @if (!contentItem.HasPublished()){<text> - </text>@T("Not Published")}</span> <span data-id="@contentItem.Id" data-fieldid="@idsFieldId" class="content-picker-item">@Html.ItemAdminLink(contentItem) @if (!contentItem.HasPublished()){<text> - </text>@T("Not Published")}</span>
</td> </td>
<td> <td>
<span data-id="@contentItem.Id" class="content-picker-remove button grey">@T("Remove")</span> <span data-id="@contentItem.Id" class="content-picker-remove button grey">@T("Remove")</span>
@ -63,4 +63,4 @@
<span class="button add">@T("Add")</span> <span class="button add">@T("Add")</span>
<input type="hidden" name="@selectedItemsFieldName" /> <input type="hidden" name="@selectedItemsFieldName" />
<span class="hint">@hint</span> <span class="hint">@hint</span>
</fieldset> </fieldset>