Skip to content

Commit

Permalink
remove external link for ToOneLookup fields in ListGrid row
Browse files Browse the repository at this point in the history
  • Loading branch information
jefffischer committed May 14, 2013
1 parent 301b42d commit 5049002
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,11 @@
<span th:case="*" th:remove="tag">
<span th:if="${headerField.canLinkToExternalEntity}" th:remove="tag">
<span th:remove="tag" th:text="${field.displayValue}" />
<a th:href="@{${listGrid.path + '/' + field.entityViewPath}}" class="modal-view">
<i class="icon-external-link"></i>
</a>
</span>

<span th:if="${headerField.mainEntityLink and record.canLinkToExternalEntity}" th:remove="tag">
<span th:remove="tag" th:text="${field.displayValue}" />
<a th:href="@{${record.externalEntityPath}}" class="modal-view">
<a th:href="@{${record.externalEntityPath + '/tester2'}}" class="modal-view">
<i class="icon-external-link"></i>
</a>
</span>
Expand Down

0 comments on commit 5049002

Please sign in to comment.