Pginer has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/173192

Change subject: Generic icon for licenses
......................................................................

Generic icon for licenses

A document-like icon for those licenses lacking a more specific icon.

Change-Id: Ica254b10c4b5fa65eac463b8d878402c5c48a411
---
A resources/mmv/ui/img/license.svg
M resources/mmv/ui/mmv.ui.metadataPanel.less
2 files changed, 38 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer 
refs/changes/92/173192/1

diff --git a/resources/mmv/ui/img/license.svg b/resources/mmv/ui/img/license.svg
new file mode 100644
index 0000000..a981611
--- /dev/null
+++ b/resources/mmv/ui/img/license.svg
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   version="1.0"
+   width="64"
+   height="64"
+   viewBox="5.5 -3.5 64 64"
+   id="svg2">
+  <metadata
+     id="metadata12">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs10" />
+  <path
+     d="M 12.600317,0.5048851 V 56.5 h 42.684459 c 3.555042,0 
7.114907,-3.02977 7.114907,-6.589674 V 0.5 H 12.600317 V 0.50474 z M 
30.871466,6.7151829 V 29.275649 l 8.199346,-7.426105 8.194527,7.426154 V 
6.7151829 h 8.554424 V 46.219139 c 0,3.555023 -3.555043,3.87113 
-3.555043,3.87113 H 21.368642 V 6.7103452 h 9.502744 v 0.00474 z"
+     id="path11"
+     style="fill:#939598;fill-opacity:1" />
+</svg>
diff --git a/resources/mmv/ui/mmv.ui.metadataPanel.less 
b/resources/mmv/ui/mmv.ui.metadataPanel.less
index 42e6ed0..5bda3a6 100644
--- a/resources/mmv/ui/mmv.ui.metadataPanel.less
+++ b/resources/mmv/ui/mmv.ui.metadataPanel.less
@@ -184,6 +184,11 @@
                        background-repeat: no-repeat;
                }
 
+               &.mw-mmv-license-li:before {
+                       /* @embed */
+                       background-image: url(img/license.svg);
+               }
+
                &.mw-mmv-license-li.cc-license:before {
                        /* @embed */
                        background-image: url(img/cc.svg);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica254b10c4b5fa65eac463b8d878402c5c48a411
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: Pginer <[email protected]>

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

Reply via email to