Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
c7172518
Commit
c7172518
authored
Jan 22, 2019
by
Piotr Gawron
Browse files
Merge branch '642-logo-on-login-page' into 'devel_12.1.x'
Resolve "logo on login page doesn't work" See merge request
!586
parents
57d429dd
355e2922
Pipeline
#8384
passed with stage
in 1 minute and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
c7172518
minerva
(
12.1.6
)
stable
;
urgency
=
medium
*
Bug
fix
:
logo
on
login
page
was
broken
with
image
link
being
full
url
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Fri
,
10
Janc
2019
14
:
00
:
00
+
0200
minerva
(
12.1.5
)
stable
;
urgency
=
medium
*
Bug
fix
:
Drugbank
changed
output
format
which
crashed
drug
connector
*
Bug
fix
:
word
wrapping
fixed
in
overlay
table
for
long
overlay
names
...
...
frontend-js/src/main/js/minerva.js
View file @
c7172518
...
...
@@ -492,6 +492,10 @@ function createFooter() {
return
ServerConnector
.
getConfigurationParam
(
ConfigurationType
.
LOGO_IMG
);
}).
then
(
function
(
result
)
{
logoImg
=
result
;
if
(
!
/^
(
f|ht
)
tps
?
:
\/\/
/i
.
test
(
logoImg
))
{
logoImg
=
GuiConnector
.
getImgPrefix
()
+
logoImg
;
}
return
ServerConnector
.
getConfiguration
();
}).
then
(
function
(
configuration
)
{
return
functions
.
createElement
({
...
...
@@ -500,7 +504,7 @@ function createFooter() {
content
:
'
<table width="100%" border="0" cellspacing="0" cellpadding="0">
'
+
'
<tr>
'
+
'
<td align="left"><a href="
'
+
logoLink
+
'
" title="
'
+
logoText
+
'
" target="_blank">
'
+
'
<img src="
'
+
GuiConnector
.
getImgPrefix
()
+
logoImg
+
'
" width="80" height="80" border="0" alt="
'
+
logoText
+
'
"/>
'
+
'
<img src="
'
+
logoImg
+
'
" width="80" height="80" border="0" alt="
'
+
logoText
+
'
"/>
'
+
'
</a></td>
'
+
'
<td align="center" class="minerva-footer-text">MiNERVA version
'
+
configuration
.
getVersion
()
+
'
;<br/>
'
+
'
build
'
+
configuration
.
getBuildDate
()
+
'
;<br/>
'
+
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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