diff options
author | Young Gyu Park <younggyu@google.com> | 2018-03-30 13:17:40 +0900 |
---|---|---|
committer | Young Gyu Park <younggyu@google.com> | 2018-03-30 13:17:40 +0900 |
commit | e409e4044306992b9ac101929148098b7a9d94b9 (patch) | |
tree | 6ff0fa773b25e5dcb895b4b964c68ef17b59246a /src/main/webapp | |
parent | 9cba68549d264aef7b2756b878aec6d9a544b38e (diff) | |
download | dashboard-e409e4044306992b9ac101929148098b7a9d94b9.tar.gz |
Finding branch and build target info from data instead of hard-coding
Test: Tested with browser on local dev server
Bug: 77251995
Change-Id: I1c7f5adaca45e8d4d8e1e1d08b8978beb6e2ad02
Diffstat (limited to 'src/main/webapp')
-rw-r--r-- | src/main/webapp/WEB-INF/datastore-indexes.xml | 6 | ||||
-rw-r--r-- | src/main/webapp/WEB-INF/jsp/show_release.jsp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/main/webapp/WEB-INF/datastore-indexes.xml b/src/main/webapp/WEB-INF/datastore-indexes.xml index a7234e6..a54495c 100644 --- a/src/main/webapp/WEB-INF/datastore-indexes.xml +++ b/src/main/webapp/WEB-INF/datastore-indexes.xml @@ -95,4 +95,10 @@ <property name="buildFlavor" direction="asc"/> <property name="startTime" direction="asc"/> </datastore-index> + + <datastore-index kind="DeviceInfo" ancestor="true" source="manual"> + <property name="branch" direction="asc"/> + <property name="buildFlavor" direction="asc"/> + </datastore-index> + </datastore-indexes> diff --git a/src/main/webapp/WEB-INF/jsp/show_release.jsp b/src/main/webapp/WEB-INF/jsp/show_release.jsp index b7dd01d..83d71c6 100644 --- a/src/main/webapp/WEB-INF/jsp/show_release.jsp +++ b/src/main/webapp/WEB-INF/jsp/show_release.jsp @@ -36,10 +36,10 @@ <ul class="tabs"> <li class="tab col s6" id="planTabLink"> - <a class="${testType == 'plan' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?type=plan"><h5>Test Plans</h5></a> + <a class="${testType == 'plan' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?type=plan">Test Plans</a> </li> <li class="tab col s6" id="suiteTabLink"> - <a class="${testType == 'suite' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?type=suite"><h5>Suite Test Plans</h5></a> + <a class="${testType == 'suite' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?type=suite">Suite Test Plans</a> </li> </ul> |