Commit 5f457a32 by Nilu

HT002 - If there are < 2 jobs in the list, then disable ‘Order By’

parent 20fa0720
...@@ -75,6 +75,10 @@ ...@@ -75,6 +75,10 @@
%> %>
</ul> </ul>
</div> </div>
<%
if(jobs.length > 1)
{
%>
<div class="shorting-dropdown"> <div class="shorting-dropdown">
<span class="order-label">order by</span> <span class="order-label">order by</span>
<select class="form-control" onChange="location=this.value"> <select class="form-control" onChange="location=this.value">
...@@ -91,6 +95,9 @@ ...@@ -91,6 +95,9 @@
%> %>
</select> </select>
</div> </div>
<%
}
%>
</div> </div>
<oneit:dynInclude page="/extensions/adminportal/inc/job_list.jsp" data="<%= CollectionUtils.EMPTY_MAP%>" ShortlistPage="<%= shortlistPage %>" <oneit:dynInclude page="/extensions/adminportal/inc/job_list.jsp" data="<%= CollectionUtils.EMPTY_MAP%>" ShortlistPage="<%= shortlistPage %>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment