details.jsp 884 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>

<html>
<head>
<title><spring:message code="team.page.profile.title" arguments="${team.name}" argumentSeparator="||" /></title>
</head>
<body>
	<h1>
		<c:out value="${team.name}" />
	</h1>

14
	<security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#team, 'WRITE')">
15
		<a href="<c:url value="/acl/${team.class.name}/${team.id}/permissions"><c:param name="back">/team/${team.uuid}</c:param></c:url>" class="btn btn-default"> <spring:message code="edit-acl" /></a>
Matija Obreza's avatar
Matija Obreza committed
16
17
	</security:authorize>

18
19
20
21
22
23
24
25
26
27
28
29
30
31
	<h4>
		<spring:message code="team.team-members" arguments="${teammembers.size()}" />
	</h4>

	<ul class="funny-list">
		<c:forEach items="${teammembers}" var="user" varStatus="status">
			<li class="${status.count % 2 == 0 ? 'even' : 'odd'}">
				<c:out value="${user.name}" />
			</li>
		</c:forEach>
	</ul>

</body>
</html>