<%@ include file="/portal/include/include_java.jsp" %>

<c:choose>
  <c:when test="${displayObject.userRoleName == 'report_viewer'}">
    <asi:out encoding="html" value="${displayObject.name}" />
  </c:when>
  <c:otherwise>
    <a href="#" onclick="editReport('<asi:out encoding="html" value="${displayObject.id}" />'); return false;"><asi:out encoding="html" value="${displayObject.name}" /></a>
  </c:otherwise>
</c:choose>