changeset 64:4c8fed0d71cc

minor fixed
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 25 Jul 2016 17:08:06 +0200
parents fc5116de601f
children db737aead627
files src/main/webapp/pages/topicList.jsp
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/pages/topicList.jsp	Mon Jul 25 11:14:59 2016 +0200
+++ b/src/main/webapp/pages/topicList.jsp	Mon Jul 25 17:08:06 2016 +0200
@@ -122,21 +122,24 @@
 				</form>
 			</div>	
 		
-		<% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %>
-			<label class="subTitel">There's no topic in the system!</label>
-		<% } else { %>
-					
-			
 		
-			<form name="topicListForm" id="topicListForm" method="post"
+		<form name="topicListForm" id="topicListForm" method="post"
 				action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" >
 				<input name="bean" type="hidden" value="topicListBean" /> 
 				
-				<div class="subTitel">Topic List
+				<div class="subTitel">
 					<input type="image"
 						onclick="setAction('forceLoadTopics', 'topicListForm');"
 						src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/>
+				</div>
+						
+			<% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %>
+				<label class="subTitel">There's no topic in the system!</label>
 			
+			
+			<% } else { %>
+				
+				<div class="subTitel">Topic List
 					<p class="label">You have <%= sessionBean.getTopicListPage().getTopicNumber() %> topics.</p>
 					<p class="label"><%= (StringUtils.isNotEmpty(sessionBean.getTopicListPage().getFilteringMessage())) ? sessionBean.getTopicListPage().getFilteringMessage() : ""%> </p>
 				</div>