comparison src/main/webapp/pages/topicList.jsp @ 54:a00efd5d9e77

new: adding delete saved table function
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 04 Feb 2016 11:30:46 +0100
parents 13555aff1f88
children 95bf4ac726e6
comparison
equal deleted inserted replaced
53:db2088ac1f50 54:a00efd5d9e77
271 <td><%=topic.getFomattedLastChange() %></td> 271 <td><%=topic.getFomattedLastChange() %></td>
272 272
273 <td> 273 <td>
274 <%if(topic.hasContributor(sessionBean.getUser().getId())){ %> 274 <%if(topic.hasContributor(sessionBean.getUser().getId())){ %>
275 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/topicPage.jsp?topicId=<%=topic.getId() %>" > 275 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/topicPage.jsp?topicId=<%=topic.getId() %>" >
276 <img alt="Manage Topic" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/> 276 <img title="Manage Topic" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/>
277 </a> 277 </a>
278 <% } %> 278 <% } %>
279 279
280 <label>(<%=topic.getNumOfSections().toString()%>/2000)</label> 280 <label>(<%=topic.getNumOfSections().toString()%>/2000)</label>
281 </td> 281 </td>
282 <td> 282 <td>
283 <%if(topic.hasContributor(sessionBean.getUser().getId())){ %> 283 <%if(topic.hasContributor(sessionBean.getUser().getId())){ %>
284 <input type="image" 284 <input type="image" title="Delete it"
285 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> deleteTopic('deleteTopic', 'topicListForm', '<%=topic.getId() %>');" 285 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> deleteTopic('deleteTopic', 'topicListForm', '<%=topic.getId() %>');"
286 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/> 286 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
287 <% } %> 287 <% } %>
288 288
289 </td> 289 </td>