1
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
2
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
3
|
|
4
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
|
8
|
<head>
|
9
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
<title>DRIVER Communities</title>
|
11
|
<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/<s:property value="#application['webInterfaceLayoutManager'].cssFileName" />' rel="stylesheet" type="text/css" />
|
12
|
<link href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/SimpleTabs.css" rel="stylesheet" type="text/css" />
|
13
|
<link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
|
14
|
<!-- MB - ADD mootools here: new version -->
|
15
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3-core.js"></script>
|
16
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3.1-more.js"></script>
|
17
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js"></script>
|
18
|
</head>
|
19
|
<body>
|
20
|
<div id="center">
|
21
|
<div id="wrapper">
|
22
|
<div class="wrapper_shadowleft">
|
23
|
<div class="wrapper_shadowright">
|
24
|
<div id="container">
|
25
|
<jsp:include page="/pages/banner.jsp" />
|
26
|
<jsp:include page="/pages/menu.jsp" />
|
27
|
<div id="leftcolumn">
|
28
|
<b class="curved_top">
|
29
|
<b class="curved_t1"></b>
|
30
|
<b class="curved_t2"></b>
|
31
|
<b class="curved_t3"></b>
|
32
|
<b class="curved_t4"></b>
|
33
|
</b>
|
34
|
<div class="curved_container clearfix">
|
35
|
<div class="featured_top leftcolumn_top">Communities</div>
|
36
|
<s:if test="%{displayMyDriverMenu}">
|
37
|
<jsp:include page="/pages/community/myCommunitiesMenu.jsp" />
|
38
|
</s:if>
|
39
|
<s:else>
|
40
|
<s:set name="action" value="%{'ViewCommunityPopularDocuments.action'}"/>
|
41
|
<jsp:include page="/pages/community/allCommunitiesMenu.jsp" />
|
42
|
</s:else>
|
43
|
</div>
|
44
|
<b class="curved_bottom">
|
45
|
<b class="curved_b4"></b>
|
46
|
<b class="curved_b3"></b>
|
47
|
<b class="curved_b2"></b>
|
48
|
<b class="curved_b1"></b>
|
49
|
</b>
|
50
|
</div>
|
51
|
<div id="maincolumn2">
|
52
|
<div id="communityPage">
|
53
|
<b class="curved_top">
|
54
|
<b class="curved_t1"></b>
|
55
|
<b class="curved_t2"></b>
|
56
|
<b class="curved_t3"></b>
|
57
|
<b class="curved_t4"></b>
|
58
|
</b>
|
59
|
<div class="curved_container clearfix">
|
60
|
<div class="featured_top communityPage_top">
|
61
|
<div class="right ">
|
62
|
<s:if test="%{displayJoin}">
|
63
|
<a class="ovalbutton" href="JoinCommunity.action?communityId=<s:property value="communityId" /><s:if test="%{displayMyDriverMenu}">&displayMyDriverMenu=true</s:if><s:if test="%{initialLetter != null}">&initialLetter=<s:property value="initialLetter" /></s:if>">
|
64
|
<span>Join this community</span>
|
65
|
</a>
|
66
|
</s:if>
|
67
|
<s:if test="%{displayLeave}">
|
68
|
<a class="ovalbutton" href="LeaveCommunity.action?communityId=<s:property value="communityId" /><s:if test="%{displayMyDriverMenu}">&displayMyDriverMenu=true</s:if><s:if test="%{initialLetter != null}">&initialLetter=<s:property value="initialLetter" /></s:if>">
|
69
|
<span>Leave this community</span>
|
70
|
</a>
|
71
|
</s:if>
|
72
|
</div>
|
73
|
<img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/communities.png" alt="DRIVER Communities" width="16" height="16" class="absmiddle" />
|
74
|
|
75
|
<a href="ViewCommunity.action?communityId=<s:property value="communityId" /><s:if test="%{displayMyDriverMenu}">&displayMyDriverMenu=true</s:if><s:if test="%{initialLetter != null}">&initialLetter=<s:property value="initialLetter" /></s:if>">
|
76
|
<s:property value="community.name" />
|
77
|
</a>
|
78
|
</div>
|
79
|
<s:set name="selectedTab" value="%{5}"/>
|
80
|
<jsp:include page="/pages/community/tabsMenu.jsp" />
|
81
|
<div id="popularDocuments" class="tab-wrapper clearfix">
|
82
|
<div class="mydriveritem col1">
|
83
|
<s:if test="popularDocuments.size() == 0">
|
84
|
<div class="communityField">
|
85
|
<span class="communityFieldComments">This feature will be enabled soon.</span>
|
86
|
</div>
|
87
|
</s:if>
|
88
|
<s:else>
|
89
|
<div class="communityField">
|
90
|
<span class="communityFieldComments">
|
91
|
This community has
|
92
|
<s:property value="popularDocuments.size()" />
|
93
|
popular document(s)
|
94
|
</span>
|
95
|
</div>
|
96
|
<s:iterator value="popularDocuments">
|
97
|
<s:if test="(key.getFieldValues(titleField.name).size() > 0) && (key.getFieldValues('id').size() > 0)">
|
98
|
<div class="communityField">
|
99
|
<s:property value="value" />
|
100
|
|
|
101
|
<a href="ShowDocument.action?id=<s:property value="key.getFieldValues('id').get(0)" />">
|
102
|
<s:property value="key.getFieldValues(titleField.name).get(0)" />
|
103
|
</a>
|
104
|
</div>
|
105
|
<s:iterator value="summaryFields">
|
106
|
<s:if test="key.getFieldValues(name).size() > 0">
|
107
|
<div class="communityField">
|
108
|
<s:property value="shortDescription" />:
|
109
|
<s:property value="key.getFieldValues(name).get(0)" />
|
110
|
</div>
|
111
|
</s:if>
|
112
|
</s:iterator>
|
113
|
</s:if>
|
114
|
</s:iterator>
|
115
|
</s:else>
|
116
|
</div>
|
117
|
</div>
|
118
|
</div>
|
119
|
<b class="curved_bottom">
|
120
|
<b class="curved_b4"></b>
|
121
|
<b class="curved_b3"></b>
|
122
|
<b class="curved_b2"></b>
|
123
|
<b class="curved_b1"></b>
|
124
|
</b>
|
125
|
</div>
|
126
|
</div>
|
127
|
<div id="footer">
|
128
|
<s:action name="FooterPage" executeResult="true"/>
|
129
|
</div>
|
130
|
</div>
|
131
|
</div>
|
132
|
</div>
|
133
|
</div>
|
134
|
</div>
|
135
|
</body>
|
136
|
</html>
|