1 |
6752
|
thanos.pap
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
2 |
|
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
3 |
7783
|
natalia.ma
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4 |
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6 |
|
|
|
7 |
6752
|
thanos.pap
|
<head>
|
8 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9 |
7672
|
thanos.pap
|
<title>DRIVER Communities</title>
|
10 |
13398
|
katerina.i
|
<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" />
|
11 |
|
|
<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" />
|
12 |
|
|
<link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
|
13 |
7672
|
thanos.pap
|
<!-- MB - ADD mootools here: new version -->
|
14 |
13398
|
katerina.i
|
<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>
|
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.1-more.js"></script>
|
16 |
|
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js"></script>
|
17 |
7779
|
thanos.pap
|
<script type="text/javascript">
|
18 |
|
|
function deleteCollection(name) {
|
19 |
|
|
return confirm('Are you sure you want to delete collection ' + name + '?');
|
20 |
|
|
}
|
21 |
|
|
</script>
|
22 |
6752
|
thanos.pap
|
</head>
|
23 |
|
|
<body>
|
24 |
|
|
<div id="center">
|
25 |
|
|
<div id="wrapper">
|
26 |
7399
|
katerina.i
|
<div class="wrapper_shadowleft">
|
27 |
|
|
<div class="wrapper_shadowright">
|
28 |
6752
|
thanos.pap
|
<div id="container">
|
29 |
|
|
<jsp:include page="/pages/banner.jsp" />
|
30 |
7672
|
thanos.pap
|
<jsp:include page="/pages/menu.jsp" />
|
31 |
|
|
<p class="clear" />
|
32 |
7783
|
natalia.ma
|
<div id="leftcolumn">
|
33 |
7672
|
thanos.pap
|
<b class="curved_top">
|
34 |
|
|
<b class="curved_t1"></b>
|
35 |
|
|
<b class="curved_t2"></b>
|
36 |
|
|
<b class="curved_t3"></b>
|
37 |
|
|
<b class="curved_t4"></b>
|
38 |
|
|
</b>
|
39 |
7783
|
natalia.ma
|
<div class="curved_container clearfix">
|
40 |
|
|
<div class="featured_top leftcolumn_top">Communities</div>
|
41 |
|
|
<s:if test="%{displayMyDriverMenu}">
|
42 |
|
|
<jsp:include page="/pages/community/myCommunitiesMenu.jsp" />
|
43 |
|
|
</s:if>
|
44 |
|
|
<s:else>
|
45 |
|
|
<s:set name="action" value="%{'ViewCommunityCollections.action'}"/>
|
46 |
|
|
<jsp:include page="/pages/community/allCommunitiesMenu.jsp" />
|
47 |
|
|
</s:else>
|
48 |
|
|
</div>
|
49 |
7672
|
thanos.pap
|
<b class="curved_bottom">
|
50 |
|
|
<b class="curved_b4"></b>
|
51 |
|
|
<b class="curved_b3"></b>
|
52 |
|
|
<b class="curved_b2"></b>
|
53 |
|
|
<b class="curved_b1"></b>
|
54 |
|
|
</b>
|
55 |
6752
|
thanos.pap
|
</div>
|
56 |
7672
|
thanos.pap
|
<div id="maincolumn2">
|
57 |
7783
|
natalia.ma
|
<div id="communityPage">
|
58 |
|
|
<b class="curved_top">
|
59 |
|
|
<b class="curved_t1"></b>
|
60 |
|
|
<b class="curved_t2"></b>
|
61 |
|
|
<b class="curved_t3"></b>
|
62 |
|
|
<b class="curved_t4"></b>
|
63 |
|
|
</b>
|
64 |
|
|
<div class="curved_container clearfix">
|
65 |
|
|
<div class="featured_top communityPage_top">
|
66 |
|
|
<div class="right ">
|
67 |
|
|
<s:if test="%{displayJoin}">
|
68 |
7840
|
thanos.pap
|
<a class="ovalbutton right" 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>">
|
69 |
8059
|
natalia.ma
|
<span>Join</span>
|
70 |
7783
|
natalia.ma
|
</a>
|
71 |
|
|
</s:if>
|
72 |
|
|
<s:if test="%{displayLeave}">
|
73 |
7840
|
thanos.pap
|
<a class="ovalbutton right" 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>">
|
74 |
8059
|
natalia.ma
|
<span>Leave</span>
|
75 |
7783
|
natalia.ma
|
</a>
|
76 |
|
|
</s:if>
|
77 |
|
|
</div>
|
78 |
13398
|
katerina.i
|
<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" />
|
79 |
7783
|
natalia.ma
|
|
80 |
|
|
<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>">
|
81 |
|
|
<s:property value="community.name" />
|
82 |
|
|
</a>
|
83 |
|
|
</div>
|
84 |
|
|
<s:set name="selectedTab" value="%{3}"/>
|
85 |
|
|
<jsp:include page="/pages/community/tabsMenu.jsp" />
|
86 |
|
|
<div id="collections" class="tab-wrapper clearfix">
|
87 |
|
|
<div class="mydriveritem col1">
|
88 |
7840
|
thanos.pap
|
<div class="communityAdminButtons">
|
89 |
|
|
<s:if test="%{displayAdd}">
|
90 |
|
|
<a class="ovalbutton right" href="AddCommunityCollection.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>">
|
91 |
|
|
<span>Add a collection</span>
|
92 |
|
|
</a>
|
93 |
|
|
</s:if>
|
94 |
|
|
</div>
|
95 |
7783
|
natalia.ma
|
<s:if test="collections.size() == 0">
|
96 |
|
|
<div class="communityField">
|
97 |
|
|
<span class="communityFieldComments">This community has no collections.</span>
|
98 |
|
|
</div>
|
99 |
|
|
</s:if>
|
100 |
|
|
<s:else>
|
101 |
|
|
<div class="communityField">
|
102 |
|
|
<span class="communityFieldComments">
|
103 |
|
|
This community has
|
104 |
|
|
<s:property value="collections.size()" />
|
105 |
|
|
collection(s)
|
106 |
|
|
</span>
|
107 |
|
|
</div>
|
108 |
|
|
<s:iterator value="collections">
|
109 |
|
|
<div class="communityField">
|
110 |
|
|
<a href="AllDRIVERCollections.action?collectionID=<s:property value="resourceId" />">
|
111 |
|
|
<img src="<s:property value="iconUrl" />" />
|
112 |
|
|
<s:property value="name" />
|
113 |
|
|
</a>
|
114 |
|
|
</div>
|
115 |
|
|
<div class="communityField">
|
116 |
|
|
<s:property value="subject" />
|
117 |
|
|
</div>
|
118 |
|
|
<div class="communityField">
|
119 |
|
|
<s:if test="%{lastUpdateDate == null}">
|
120 |
7803
|
thanos.pap
|
<s:property value="dateFormat.format(dateOfCreation)" />
|
121 |
7783
|
natalia.ma
|
</s:if>
|
122 |
|
|
<s:else>
|
123 |
7803
|
thanos.pap
|
<s:property value="dateFormat.format(lastUpdateDate)" />
|
124 |
7783
|
natalia.ma
|
</s:else>
|
125 |
|
|
|
|
126 |
|
|
<s:if test="%{collectionOwners.get(resourceId) == null}">no owner</s:if>
|
127 |
|
|
<s:else>
|
128 |
7779
|
thanos.pap
|
<s:if test="%{((collectionOwners.get(resourceId).firstname == null) || collectionOwners.get(resourceId).firstname.isEmpty) && ((collectionOwners.get(resourceId).lastname == null) || collectionOwners.get(resourceId).lastname.isEmpty())}">
|
129 |
7783
|
natalia.ma
|
<s:property value="collectionOwners.get(resourceId).email.split('@')[0]" />@...
|
130 |
|
|
</s:if>
|
131 |
|
|
<s:else>
|
132 |
|
|
<s:property value="collectionOwners.get(resourceId).firstname" />
|
133 |
|
|
<s:property value="collectionOwners.get(resourceId).lastname" />
|
134 |
|
|
</s:else>
|
135 |
|
|
</s:else>
|
136 |
|
|
|
|
137 |
|
|
<s:property value="documentCount" />
|
138 |
|
|
document(s)
|
139 |
|
|
</div>
|
140 |
|
|
<s:iterator value="description">
|
141 |
|
|
<div class="communityField">
|
142 |
|
|
<s:property />
|
143 |
|
|
</div>
|
144 |
|
|
</s:iterator>
|
145 |
7779
|
thanos.pap
|
<s:if test="%{getDisplayDelete(resourceId)}">
|
146 |
12963
|
antonis.le
|
<form id="viewCommunityCollectionsAction<s:property value="resourceId" />" onsubmit="return deleteCollection('<s:property value="name" />');" action="DeleteCommunityCollection.action" method="post">
|
147 |
7779
|
thanos.pap
|
<input type="hidden" name="communityId" value="<s:property value="communityId" />" />
|
148 |
|
|
<input type="hidden" name="collectionId" value="<s:property value="resourceId" />" />
|
149 |
|
|
<div class="communityField">
|
150 |
|
|
<s:if test="%{displayMyDriverMenu}">
|
151 |
|
|
<input type="hidden" name="displayMyDriverMenu" value="true" />
|
152 |
|
|
</s:if>
|
153 |
|
|
<s:if test="%{initialLetter != null}">
|
154 |
|
|
<input type="hidden" name="initialLetter" value="<s:property value="initialLetter" />" />
|
155 |
|
|
</s:if>
|
156 |
|
|
</div>
|
157 |
|
|
<div class="communityField">
|
158 |
7840
|
thanos.pap
|
<input type="submit" id="viewCommunityCollectionsActionDelete" value="Remove" class="ovalbutton" />
|
159 |
7779
|
thanos.pap
|
</div>
|
160 |
|
|
</form>
|
161 |
|
|
</s:if>
|
162 |
7783
|
natalia.ma
|
</s:iterator>
|
163 |
|
|
</s:else>
|
164 |
|
|
</div>
|
165 |
|
|
</div>
|
166 |
|
|
</div>
|
167 |
|
|
<b class="curved_bottom">
|
168 |
|
|
<b class="curved_b4"></b>
|
169 |
|
|
<b class="curved_b3"></b>
|
170 |
|
|
<b class="curved_b2"></b>
|
171 |
|
|
<b class="curved_b1"></b>
|
172 |
|
|
</b>
|
173 |
6752
|
thanos.pap
|
</div>
|
174 |
7783
|
natalia.ma
|
</div>
|
175 |
|
|
<div id="footer">
|
176 |
12995
|
katerina.i
|
<s:action name="FooterPage" executeResult="true"/>
|
177 |
|
|
</div>
|
178 |
7783
|
natalia.ma
|
</div>
|
179 |
6752
|
thanos.pap
|
</div>
|
180 |
|
|
</div>
|
181 |
|
|
</div>
|
182 |
|
|
</div>
|
183 |
|
|
</body>
|
184 |
12963
|
antonis.le
|
</html>
|