jenkins-bot has submitted this change and it was merged.
Change subject: Reveal flag icon on Vector
......................................................................
Reveal flag icon on Vector
* Show flag icon on Vector
* Also tweak styling for Vector
Bug: T97301
Change-Id: Ic37327b44a015e3f182da12a0137dfb3de225d00
---
M resources/Resources.php
A resources/ext.gather.collection.confirm/vector.less
M resources/ext.gather.special.collection/init.js
3 files changed, 10 insertions(+), 1 deletion(-)
Approvals:
Jhernandez: Looks good to me, approved
jenkins-bot: Verified
diff --git a/resources/Resources.php b/resources/Resources.php
index 951c0c4..bdd9675 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -152,6 +152,9 @@
'styles' => array(
'ext.gather.collection.confirm/confirmationOverlay.less',
),
+ 'skinStyles' => array(
+ 'vector' => 'ext.gather.collection.confirm/vector.less',
+ ),
'messages' => array(
'gather-error-unknown-collection',
'gather-confirmation-cancel-button-label',
diff --git a/resources/ext.gather.collection.confirm/vector.less
b/resources/ext.gather.collection.confirm/vector.less
new file mode 100644
index 0000000..4e5e2cd
--- /dev/null
+++ b/resources/ext.gather.collection.confirm/vector.less
@@ -0,0 +1,6 @@
+.collection-confirmation-overlay {
+ left: 14em;
+ position: absolute;
+ right: 1.1em;
+ top: 7em;
+}
\ No newline at end of file
diff --git a/resources/ext.gather.special.collection/init.js
b/resources/ext.gather.special.collection/init.js
index 1150b0e..a4cd16c 100644
--- a/resources/ext.gather.special.collection/init.js
+++ b/resources/ext.gather.special.collection/init.js
@@ -5,7 +5,7 @@
$( function () {
var $collection = $( '.collection' );
- if ( !$collection.data( 'is-owner' ) && mw.config.get( 'skin' )
=== 'minerva' ) {
+ if ( !$collection.data( 'is-owner' ) ) {
new CollectionFlagButton( {
collectionId: $collection.data( 'id' )
} ).prependTo( '.collection-moderation' );
--
To view, visit https://gerrit.wikimedia.org/r/208381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic37327b44a015e3f182da12a0137dfb3de225d00
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits