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
255e23de
Commit
255e23de
authored
Jul 13, 2021
by
Gradl, Tobias
Browse files
437: Show result highlight in item view (OPENED)
Task-Url:
search#437
parent
11e3a70b
Changes
1
Hide whitespace changes
Inline
Side-by-side
item/view.jsp
View file @
255e23de
...
...
@@ -76,6 +76,16 @@
</c:forEach>
</ul>
</c:if>
<c:if
test=
"
${
highlights
!=
null
&&
fn:
length
(
highlights
)>
0
}
"
>
<div
id=
'item-highlights'
>
<h2><s:message
code=
"~eu.dariah.de.minfba.search.view.result.resources.hits_in_document"
/></h2>
<c:forEach
var=
"highlight"
items=
"
${
highlights
}
"
>
<div>
${highlight}
</div>
</c:forEach>
</div>
</c:if>
<h2><s:message
code=
"~eu.dariah.de.minfba.search.view.item.additional_data"
/></h2>
...
...
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