jenkins-bot has submitted this change and it was merged.

Change subject: Customize Jenkins top left icon
......................................................................


Customize Jenkins top left icon

Since we can not reliably change an img src attribute, shrink the image
to 0px and use a padding that will show the background image for the
element.  Rather hacky but works reliably.

The stylesheet jenkins-wmf.css is injected in <head> by a plugin. Url
can be changed in Jenkins settings.

Change-Id: I183b191b3560d85b2da58697fbde8c6f8d2565bc
---
A org/wikimedia/integration/jenkins-wmf.css
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/org/wikimedia/integration/jenkins-wmf.css 
b/org/wikimedia/integration/jenkins-wmf.css
new file mode 100644
index 0000000..6fbbe0b
--- /dev/null
+++ b/org/wikimedia/integration/jenkins-wmf.css
@@ -0,0 +1,4 @@
+#jenkins-head-icon {
+       width:0px; height:0px; padding:19px;
+       background-image: 
url('//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/37px-Wikimedia-logo.svg.png');
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/197910
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I183b191b3560d85b2da58697fbde8c6f8d2565bc
Gerrit-PatchSet: 1
Gerrit-Project: integration/docroot
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to