comparison src/main/webapp/pages/topicList.jsp @ 64:4c8fed0d71cc

minor fixed
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 25 Jul 2016 17:08:06 +0200
parents 95bf4ac726e6
children 7e161f2e6660
comparison
equal deleted inserted replaced
63:fc5116de601f 64:4c8fed0d71cc
120 120
121 </table> 121 </table>
122 </form> 122 </form>
123 </div> 123 </div>
124 124
125 <% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %> 125
126 <label class="subTitel">There's no topic in the system!</label> 126 <form name="topicListForm" id="topicListForm" method="post"
127 <% } else { %>
128
129
130
131 <form name="topicListForm" id="topicListForm" method="post"
132 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" > 127 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" >
133 <input name="bean" type="hidden" value="topicListBean" /> 128 <input name="bean" type="hidden" value="topicListBean" />
134 129
135 <div class="subTitel">Topic List 130 <div class="subTitel">
136 <input type="image" 131 <input type="image"
137 onclick="setAction('forceLoadTopics', 'topicListForm');" 132 onclick="setAction('forceLoadTopics', 'topicListForm');"
138 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> 133 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/>
139 134 </div>
135
136 <% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %>
137 <label class="subTitel">There's no topic in the system!</label>
138
139
140 <% } else { %>
141
142 <div class="subTitel">Topic List
140 <p class="label">You have <%= sessionBean.getTopicListPage().getTopicNumber() %> topics.</p> 143 <p class="label">You have <%= sessionBean.getTopicListPage().getTopicNumber() %> topics.</p>
141 <p class="label"><%= (StringUtils.isNotEmpty(sessionBean.getTopicListPage().getFilteringMessage())) ? sessionBean.getTopicListPage().getFilteringMessage() : ""%> </p> 144 <p class="label"><%= (StringUtils.isNotEmpty(sessionBean.getTopicListPage().getFilteringMessage())) ? sessionBean.getTopicListPage().getFilteringMessage() : ""%> </p>
142 </div> 145 </div>
143 146
144 147