diff src/main/webapp/pages/topicPage.jsp @ 58:b8ad346e39a0

new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 02 May 2016 12:03:30 +0200
parents 95bf4ac726e6
children 90d5e86c157d
line wrap: on
line diff
--- a/src/main/webapp/pages/topicPage.jsp	Wed Feb 17 14:58:19 2016 +0100
+++ b/src/main/webapp/pages/topicPage.jsp	Mon May 02 12:03:30 2016 +0200
@@ -213,8 +213,8 @@
 										<th><label class="tableTitle">Admin Type</label></th>
 										<th><label class="tableTitle">Section Name</label></th>
 										<th><label class="tableTitle">Section Pages</label></th>
-										<th><label class="tableTitle">View Text</label></th>
-										<th><label class="tableTitle">Existing Tasks</label></th>
+										<th><label class="tableTitle">Load Text (Plain)</label></th>
+										<th><label class="tableTitle">Load tagged text in Extraction Interface</label></th>
 										<th><label class="tableTitle">Remove</label></th>
 									</tr>	
 									
@@ -536,8 +536,8 @@
 										</table>
 									</th>
 									
-									<th><label class="tableTitle">View Text</label></th>
-									<th><label class="tableTitle">Existing Tasks</label></th>
+									<th><label class="tableTitle">Load Text (Plain)</label></th>
+									<th><label class="tableTitle">Load tagged text in Extraction Interface</label></th>
 									<th><label class="tableTitle">Remove</label></th>
 								</tr>	
 								
@@ -581,9 +581,22 @@
 														</td>
 														<td style="max-width:150px">
 															<% if (branch.hasContributor(sessionBean.getUser().getId())) { %>
-															<a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/branchPage.jsp?branchId=<%=branch.getId() %>" >
-																<img title="Manage Branch" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/>
-															</a>												
+															
+															<table style="width:100%">
+																<tr><td>
+																	<a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/branchPage.jsp?branchId=<%=branch.getId() %>" >
+																		<img title="Manage Branch" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/>
+																	</a>
+																</td></tr>
+																<tr><td>
+																	<!-- view text for the latest version -->
+																	<a onclick="branchInExtractionInterface('<%=branch.getId() %>', '<%=branch.getCurrentLastFileId() %>', '<%=branch.getSectionId() %>', '<%=branch.getSection().getName() %>', '<%=branch.getBook().getId() %>', '<%=branch.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl() %>');">
+																		<img title="Show Task in Extraction Interface" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
+																	</a>
+																		
+																</td></tr>
+															</table>
+																											
 															<% } else { %>
 																<label>Contributors: <%=branch.getContributorsNameList() %></label>
 															<% } %>