-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
tmp.js
29 lines (29 loc) · 1022 Bytes
/
tmp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
if(userProjects==null || userProjects.size()<1){
%>
<h4>You don't have any projects yet</h4>
<%
}else{
%>
<table class="row clickable-row hoverRow project-style">
<thead>
<tr>
<th class="project-style"><%=props.getProperty("ProjectName") %></th>
<th class="project-style"><%=props.getProperty("PercentAnnotations") %></th>
<th class="project-style"><%=props.getProperty("NumEncounters") %></th>
</tr>
</thead>
<tbody>
<%
for(int j=0; j<userProjects.size(); j++){
if(userProjects.size()>0){
%>
<tr onclick="window.location='<%=urlLoc%>/projects/project.jsp?id=<%=userProjects.get(j).getId()%>'" class="project-style">
<td class="clickable-row"><%=userProjects.get(j).getResearchProjectName()%></td>
<td class="clickable-row"><%=userProjects.get(j).getPercentWithIncrementalIds()%> %</td>
<td class="clickable-row"><%=userProjects.get(j).getEncounters().size()%></td>
</tr>
<%
}
}
}
}