summaryrefslogtreecommitdiff
path: root/src/main/webapp
diff options
context:
space:
mode:
authorYoung Gyu Park <younggyu@google.com>2018-04-27 14:35:32 +0900
committerYoung Gyu Park <younggyu@google.com>2018-04-27 14:35:32 +0900
commitaf67870e99758b915a622f64d734c44fa53b8fc1 (patch)
tree140bb04a2a6d97bcbbea19d9a0c33fe6212d6a21 /src/main/webapp
parent06fbb30247910c40f24b93fc6b3c5473486e7333 (diff)
downloaddashboard-af67870e99758b915a622f64d734c44fa53b8fc1.tar.gz
Adding a function to highlight the current page.
Test: go/vts-web-staging/show_plan_release?plan=vts&type=suite&page=1 Bug: 78662372 Change-Id: Ibfdc5be5f4bb8d58a66785f0965263d87a8b8701
Diffstat (limited to 'src/main/webapp')
-rw-r--r--src/main/webapp/WEB-INF/jsp/show_suite_release.jsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp b/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
index 5c7f041..b144b21 100644
--- a/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
+++ b/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
@@ -226,7 +226,7 @@
</c:otherwise>
</c:choose>
<c:forEach var="pageLoop" begin="${testSuiteResultEntityPagination.minPageRange}" end="${testSuiteResultEntityPagination.maxPageRange}">
- <li class="waves-effect">
+ <li class="waves-effect<c:if test="${pageLoop eq page}"> active</c:if>">
<a href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=${groupType}&page=${pageLoop}<c:if test="${testSuiteResultEntityPagination.currentPageCountToken ne ''}">&nextPageToken=${testSuiteResultEntityPagination.currentPageCountToken}</c:if>">
<c:out value="${pageLoop}" />
</a>