Commit 4198a351 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

985: Complete branding of custom searches

Task-Url: https://pm.winseda.de/issues/985
parent c765a9fb
...@@ -207,11 +207,10 @@ CustomSearchEditor.prototype.refreshDetails = function() { ...@@ -207,11 +207,10 @@ CustomSearchEditor.prototype.refreshDetails = function() {
if (data.url!==null && data.url!==undefined && data.url!=="") { if (data.url!==null && data.url!==undefined && data.url!=="") {
var url = location.protocol + "//" + data.url; var url = location.protocol + "//" + data.url;
$("#user-collection-detail-uri_prefix").html( $("#user-collection-detail-uri_prefix").html(
data.prefix + " (" + data.prefix + " " +
"<a href='" + url + "' target='_blank'>" + "<a href='" + url + "' target='_blank'>" +
"<i class='fa fa-external-link' aria-hidden='true'></i>" + url + "<i class='fa fa-external-link' aria-hidden='true'></i>" + url +
"</a> " + "</a>");
")");
} else { } else {
$("#user-collection-detail-uri_prefix").text(data.prefix); $("#user-collection-detail-uri_prefix").text(data.prefix);
} }
......
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