dnet40/modules/uoa-web-jsp/src/default/community/allCommunitiesMenu.jsp @ 36615
1 | 7672 | thanos.pap | <%@ taglib prefix="s" uri="/struts-tags"%> |
---|---|---|---|
2 | <%@ page contentType="text/html; charset=UTF-8"%> |
||
3 | 7700 | natalia.ma | |
4 | 7739 | natalia.ma | |
5 | 7672 | thanos.pap | <div id="smallAlphaBar"> |
6 | <s:iterator value="%{{'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}}" var="letter"> |
||
7 | <s:if test="%{(initialLetter != null) && initialLetter.equals(#letter)}"> |
||
8 | <span class="alphaLetterSmallSelected"> |
||
9 | <s:property/>
|
||
10 | </span>
|
||
11 | </s:if>
|
||
12 | <s:else>
|
||
13 | <span class="alphaLetterSmall"> |
||
14 | <a href="<s:if test="%{(community != null) && @java.lang.Character@valueOf(@java.lang.Character@toUpperCase(community.name.charAt(0))).equals(#letter)}"><s:property value="#action" />?communityId=<s:property value="community.resourceId" />&initialLetter=<s:property /></s:if><s:else>ViewAllCommunities.action?initialLetter=<s:property /></s:else>"> |
||
15 | <s:property/>
|
||
16 | </a>
|
||
17 | </span>
|
||
18 | </s:else>
|
||
19 | </s:iterator>
|
||
20 | <s:if test="initialLetter == null"> |
||
21 | <span class="alphaLetterSmallSelected">ALL</span> |
||
22 | </s:if>
|
||
23 | <s:else>
|
||
24 | <span class="alphaLetterSmall"> |
||
25 | <a href="<s:if test="%{communityId == null}">ViewAllCommunities.action</s:if><s:else><s:property value="#action" />?communityId=<s:property value="communityId" /></s:else>">ALL</a> |
||
26 | </span>
|
||
27 | </s:else>
|
||
28 | </div>
|
||
29 | 7840 | thanos.pap | <s:if test="%{(initialLetter != null) && (communities.size() == 0)}"> |
30 | 7783 | natalia.ma | <div class="communityField"> |
31 | 7840 | thanos.pap | <span class="communityFieldComments">No communities under <b><s:property value="initialLetter" /></b>.</span> |
32 | 7783 | natalia.ma | </div>
|
33 | </s:if>
|
||
34 | 7672 | thanos.pap | <s:iterator value="communities"> |
35 | 7812 | natalia.ma | <div class="mydrivermenuitem"> |
36 | 7672 | thanos.pap | <s:if test="%{(community != null) && (resourceId.equals(community.resourceId))}"> |
37 | <span class="selected"> |
||
38 | <s:property value="name" /> |
||
39 | </span>
|
||
40 | </s:if>
|
||
41 | <s:else>
|
||
42 | <a href="<s:property value="#action" />?communityId=<s:property value="resourceId" /><s:if test="%{initialLetter != null}">&initialLetter=<s:property value="initialLetter" /></s:if>"> |
||
43 | <s:property value="name" /> |
||
44 | </a>
|
||
45 | </s:else>
|
||
46 | </div>
|
||
47 | </s:iterator>
|
||
48 | 7739 | natalia.ma | <p> </p> |