Commit 142140b9 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1191: Create search result detail view

Task-Url: https://pm.winseda.de/issues/1191
parent b33e04ba
......@@ -492,6 +492,19 @@ div.panel.panel-search-result > .panel-heading {
border-color: #002547;
}
div.panel.panel-search-result > .panel-heading h3 {
font-size: 130%;
}
div.panel.panel-search-result > .panel-heading h3 a .fa {
visibility: hidden;
}
div.panel.panel-search-result > .panel-heading h3 a:hover .fa,
div.panel.panel-search-result > .panel-heading h3 a:active .fa {
visibility: visible;
}
div.panel.panel-search-result > .panel-body {
padding-bottom: 0;
}
......
......@@ -553,6 +553,7 @@ QueryHandler.prototype.processResponseResources = function(isShowMore, resultEle
// TODO arrays, rest
content.push(["datasource", resultElements[i].collectionName]);
content.push(["resultId", encodeURIComponent(resultElements[i].id).replace(/[!'()]/g, escape).replace(/\*/g, "%2A")]);
if (explain) {
content.push(["score", __translator.translate("~eu.dariah.de.minfba.search.view.result.resources.score") + ": " + resultElements[i].score]);
......
Supports Markdown
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