mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
Use watchlist-progressive icon for WatchlistChangePresentationModel
Bug: T203941 Change-Id: I8c252c5a48296fd47f0e30462a9771baf7fd7804
This commit is contained in:
parent
d8fc0cfc18
commit
0abeb2bfeb
|
@ -704,6 +704,12 @@
|
||||||
},
|
},
|
||||||
"EchoNotificationIcons": {
|
"EchoNotificationIcons": {
|
||||||
"value": {
|
"value": {
|
||||||
|
"watchlist-progressive": {
|
||||||
|
"path": {
|
||||||
|
"ltr": "Echo/modules/icons/watchlist-ltr-progressive.svg",
|
||||||
|
"rtl": "Echo/modules/icons/watchlist-rtl-progressive.svg"
|
||||||
|
}
|
||||||
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"path": "Echo/modules/icons/notice.svg"
|
"path": "Echo/modules/icons/notice.svg"
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
class EchoWatchlistChangePresentationModel extends EchoEventPresentationModel {
|
class EchoWatchlistChangePresentationModel extends EchoEventPresentationModel {
|
||||||
|
|
||||||
public function getIconType() {
|
public function getIconType() {
|
||||||
// @todo create an icon to use here
|
return 'watchlist-progressive';
|
||||||
return 'placeholder';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHeaderMessage() {
|
public function getHeaderMessage() {
|
||||||
|
|
7
modules/icons/watchlist-ltr-progressive.svg
Normal file
7
modules/icons/watchlist-ltr-progressive.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||||
|
<title>
|
||||||
|
watchlist
|
||||||
|
</title><g fill="#36c">
|
||||||
|
<path d="M1 3h16v2H1V3Zm0 6h6v2H1V9Zm0 6h8v2H1v-2Zm8-4.24h3.85L14.5 7l1.65 3.76H20l-3 3.17.9 4.05-3.4-2.14L11.1 18l.9-4.05-3-3.19Z"/>
|
||||||
|
</g></svg>
|
After Width: | Height: | Size: 315 B |
7
modules/icons/watchlist-rtl-progressive.svg
Normal file
7
modules/icons/watchlist-rtl-progressive.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||||
|
<title>
|
||||||
|
watchlist
|
||||||
|
</title><g fill="#36c">
|
||||||
|
<path d="M19 3H3v2h16zm0 6h-6v2h6zm0 6h-8v2h8zm-8-4.24H7.15L5.5 7l-1.65 3.76H0l3 3.17-.9 4.05 3.4-2.14L8.9 18 8 13.95Z"/>
|
||||||
|
</g></svg>
|
After Width: | Height: | Size: 303 B |
Loading…
Reference in a new issue