Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-views
Commits
7f75bf86
Commit
7f75bf86
authored
Jun 20, 2019
by
Gradl, Tobias
Browse files
1312: Implement initial vocabulary browsing mechanism
Task-Url:
https://pm.winseda.de/issues/1312
parent
99d82780
Changes
3
Hide whitespace changes
Inline
Side-by-side
search/extended.jsp
View file @
7f75bf86
...
...
@@ -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>
...
...
search/incl/filters.jsp
View file @
7f75bf86
...
...
@@ -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})
</
butto
n></li>
<li
${
termStatus.index
>
4 ? "class='hide'" : ""}>
<
span
onclick=
"search.addFilterTerm('${filter.label}', '${term.type}', '${term.term}', this);"
>
${term.term} (${term.count})
</
spa
n></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>
...
...
search/simple.jsp
View file @
7f75bf86
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment