Skip to content

Commit

Permalink
Add edit link for lab owners to lab-view.jsp (ZFIN#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaylorzfin authored Sep 5, 2024
1 parent 2db4023 commit 4476cf2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions home/WEB-INF/jsp/profile/lab-view.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
</a>
</nav>
</authz:authorize>
<authz:authorize access="hasRole('submit')">
<c:if test="${isOwner}">
<nav class="navbar navbar-light admin text-center border-bottom">
<a class="col-sm" href="/action/profile/lab/edit/${formBean.zdbID}">Edit</a>
</nav>
</c:if>
</authz:authorize>
</jsp:attribute>

<jsp:body>
Expand Down

0 comments on commit 4476cf2

Please sign in to comment.