Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
4198a351
Commit
4198a351
authored
Feb 14, 2018
by
Gradl, Tobias
Browse files
985: Complete branding of custom searches
Task-Url:
https://pm.winseda.de/issues/985
parent
c765a9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/customSearch/list.js
View file @
4198a351
...
...
@@ -207,11 +207,10 @@ CustomSearchEditor.prototype.refreshDetails = function() {
if
(
data
.
url
!==
null
&&
data
.
url
!==
undefined
&&
data
.
url
!==
""
)
{
var
url
=
location
.
protocol
+
"
//
"
+
data
.
url
;
$
(
"
#user-collection-detail-uri_prefix
"
).
html
(
data
.
prefix
+
"
(
"
+
data
.
prefix
+
"
"
+
"
<a href='
"
+
url
+
"
' target='_blank'>
"
+
"
<i class='fa fa-external-link' aria-hidden='true'></i>
"
+
url
+
"
</a>
"
+
"
)
"
);
"
</a>
"
);
}
else
{
$
(
"
#user-collection-detail-uri_prefix
"
).
text
(
data
.
prefix
);
}
...
...
Write
Preview
Supports
Markdown
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