Jdlrobson has uploaded a new change for review.

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

Change subject: Hygiene: Notifications using mw.template
......................................................................

Hygiene: Notifications using mw.template

Change-Id: I4bdb41d6d97545e84fb1ebb041516cd96ffb2ef6
---
M includes/Resources.php
M javascripts/modules/notifications/NotificationsOverlay.js
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/18/171018/1

diff --git a/includes/Resources.php b/includes/Resources.php
index 95dc962..31515db 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -952,7 +952,7 @@
                        'less/modules/NotificationsOverlay.less',
                ),
                'templates' => array(
-                       
'modules/notifications/NotificationsOverlayContent.hogan',
+                       'content.hogan' => 
'templates/modules/notifications/NotificationsOverlayContent.hogan',
                ),
                'messages' => array(
                        // defined in Echo
diff --git a/javascripts/modules/notifications/NotificationsOverlay.js 
b/javascripts/modules/notifications/NotificationsOverlay.js
index f209b12..24c0d36 100644
--- a/javascripts/modules/notifications/NotificationsOverlay.js
+++ b/javascripts/modules/notifications/NotificationsOverlay.js
@@ -12,7 +12,7 @@
                        active: false,
                        className: 'overlay notifications-overlay 
navigation-drawer',
                        templatePartials: {
-                               content: M.template.get( 
'modules/notifications/NotificationsOverlayContent.hogan' ),
+                               content: mw.template.get( 
'mobile.notifications.overlay', 'content.hogan' ),
                                footer: mw.template.get( 'mobile.overlays', 
'OverlayFooterLink.hogan' )
                        },
                        defaults: {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4bdb41d6d97545e84fb1ebb041516cd96ffb2ef6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to