Commit 779989ef authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

799: Deploy and test presentation version

Task-Url: https://minfba.de.dariah.eu/mantisbt/view.php?id=799
parent cb55d47b
......@@ -34,8 +34,8 @@ Basesearch.prototype.getTags = function() {
Basesearch.prototype.showSearchResultTags = function(taglist) {
if (taglist!==undefined && taglist!==null && taglist.length>0) {
$("#search-results").append("<h2>Signifikante Terme</h2>");
$("#search-results").append("<p>Terme sind hier signifikant, wenn sie die Biographien untenstehender Personen von anderen Biographien abgrenzen.</p>");
$("#search-results").append("<h3>Signifikante Terme</h3>");
$("#search-results").append("<p><em>Terme sind hier signifikant, wenn sie die Biographien untenstehender Personen von anderen Biographien abgrenzen.</em></p>");
$("#search-results").append("<div id='search-result-cloud' style='text-align: center;'>");
......@@ -69,7 +69,7 @@ Basesearch.prototype.showSearchResponseItem = function(result) {
var symbols = $("<div class='search-result-symbols pull-right'>")
/* Buttons and Symbols */
if (result.score!==undefined && result.score!==null) {
if (result.score!==undefined && result.score!==null && result.score!==0) {
symbols.append("<p><em>&nbsp;Score: " + result.score + "</em></p>");
}
if (result.fulltextAvailable!=null && result.fulltextAvailable==true) {
......
......@@ -42,7 +42,6 @@ Groupsearch.prototype.processSearchResponse = function(data) {
if (data!=null && data.results!=null && data.results.length>0) {
$("#search-results").append("<h3>Personen</h3>");
$("#search-results").append("<div id=\"search-result-stats\" />");
$("#search-result-stats").html("Angezeigt werden <strong>" + data.results.length + "</strong> von <strong>" + data.totalHits + "</strong> Treffern");
for (var i=0; i<data.results.length; i++) {
......
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