Commit 7f75bf86 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1312: Implement initial vocabulary browsing mechanism

Task-Url: https://pm.winseda.de/issues/1312
parent 99d82780
......@@ -28,7 +28,7 @@
<%@ include file="incl/tabs_results.jsp" %>
</div>
<div class="col-sm-12 col-xl-4">
<div class="ml-2 mt-5">
<div class="ml-2">
<%@ include file="incl/filters.jsp" %>
</div>
</div>
......
......@@ -9,12 +9,12 @@
<ul id="search-available-filter-${filterStatus.index}">
<c:forEach items="${filter.terms}" var="term" varStatus="termStatus">
<li ${termStatus.index>4 ? "class='hide'" : ""}><button class="btn btn-inline" onclick="search.addFilterTerm('${filter.label}', '${term.type}', '${term.term}', this);">${term.term} (${term.count})</button></li>
<li ${termStatus.index>4 ? "class='hide'" : ""}><span onclick="search.addFilterTerm('${filter.label}', '${term.type}', '${term.term}', this);">${term.term} (${term.count})</span></li>
</c:forEach>
</ul>
<c:if test="${filter.totalSize > 4}">
<button id="btn-search-available-filter-more-${filterStatus.index}" class="btn btn-inline btn-search-available-filter-more" onclick="search.showMoreFilterTerms('${filterStatus.index}');">
<s:message code="~eu.dariah.de.minfba.search.view.filter.more" />
<i class="fas fa-caret-down"></i> <s:message code="~eu.dariah.de.minfba.search.view.filter.more" />
</button>
</c:if>
</c:forEach>
......
......@@ -29,7 +29,7 @@
<%@ include file="incl/tabs_results.jsp" %>
</div>
<div class="col-sm-12 col-xl-4">
<div class="ml-2 mt-5">
<div class="ml-2">
<%@ include file="incl/filters.jsp" %>
</div>
</div>
......
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