-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#349 Add function to get previous and next notification
- Loading branch information
1 parent
ac9686b
commit 9e4290b
Showing
7 changed files
with
167 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
src/main/webapp/WEB-INF/views/protect/notification/not_found.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<%@page pageEncoding="UTF-8" isELIgnored="false" session="false" errorPage="/WEB-INF/views/commons/errors/jsp_error.jsp"%> | ||
<%@page import="org.support.project.web.util.JspUtil"%> | ||
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | ||
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | ||
|
||
<% JspUtil jspUtil = new JspUtil(request, pageContext); %> | ||
|
||
|
||
<c:import url="/WEB-INF/views/commons/layout/layoutMain.jsp"> | ||
|
||
<c:param name="PARAM_HEAD"> | ||
</c:param> | ||
|
||
<c:param name="PARAM_SCRIPTS"> | ||
</c:param> | ||
|
||
|
||
<c:param name="PARAM_CONTENT"> | ||
<h4 class="title"><%= jspUtil.out("title") %></h4> | ||
|
||
<%= jspUtil.label("knowledge.notification.view.not.found", jspUtil.out("method")) %> | ||
|
||
|
||
<nav> | ||
<ul class="pager"> | ||
<li class="previous"> | ||
<a href="<%= request.getContextPath() %>/protect.notification/previous/<%= jspUtil.out("no") %><c:if test="${!empty all}">?all=true</c:if>"> | ||
<span aria-hidden="true">←</span><%= jspUtil.label("label.previous") %> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="<%= request.getContextPath() %>/protect.notification/list<c:if test="${!empty all}">?all=true</c:if>" > | ||
<i class="fa fa-list-ul"></i> <%= jspUtil.label("label.backlist") %> | ||
</a> | ||
</li> | ||
<li class="next"> | ||
<a href="<%= request.getContextPath() %>/protect.notification/next/<%= jspUtil.out("no") %><c:if test="${!empty all}">?all=true</c:if>"> | ||
<%= jspUtil.label("label.next") %> <span aria-hidden="true">→</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
|
||
|
||
|
||
</c:param> | ||
|
||
</c:import> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters