Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-views
Commits
4009b97a
Commit
4009b97a
authored
Jun 18, 2019
by
Gradl, Tobias
Browse files
1312: Implement initial vocabulary browsing mechanism
Task-Url:
https://pm.winseda.de/issues/1312
parent
cf4785e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
search/incl/simple_options.jsp
View file @
4009b97a
...
...
@@ -28,3 +28,20 @@
<input
type=
"hidden"
id=
"selected-datasources"
name=
"selected-datasources"
value=
"[]"
/>
</div>
</nav>
<nav
class=
"sidebar-block"
>
<h2><s:message
code=
"~eu.dariah.de.minfba.search.options.available_filters"
/></h2>
<c:forEach
items=
"
${
availableFilters
}
"
var=
"filter"
varStatus=
"filterStatus"
>
<h3><s:message
code=
"
${
filter
.
displayCode
}
"
/></h3>
<ul
id=
"search-available-filter-${filterStatus.index}"
class=
"search-available-filter"
>
<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}');"
>
${term.term} (${term.count})
</button></li>
</c:forEach>
</ul>
<c:if
test=
"
${
filter
.
totalSize
>
4
}
"
>
<button
id=
"btn-search-available-filter-more-${filterStatus.index}"
class=
"btn btn-inline"
onclick=
"search.showMoreFilterTerms('${filterStatus.index}');"
>
~more..
</button>
</c:if>
</c:forEach>
<input
type=
"hidden"
id=
"selected-filters"
name=
"selected-filters"
value=
"[]"
/>
</nav>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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