mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-15 03:35:01 +00:00
Merge "Use watchlist-progressive icon for WatchlistChangePresentationModel"
This commit is contained in:
commit
90e30afcde
|
@ -704,6 +704,12 @@
|
|||
},
|
||||
"EchoNotificationIcons": {
|
||||
"value": {
|
||||
"watchlist-progressive": {
|
||||
"path": {
|
||||
"ltr": "Echo/modules/icons/watchlist-ltr-progressive.svg",
|
||||
"rtl": "Echo/modules/icons/watchlist-rtl-progressive.svg"
|
||||
}
|
||||
},
|
||||
"placeholder": {
|
||||
"path": "Echo/modules/icons/notice.svg"
|
||||
},
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
class EchoWatchlistChangePresentationModel extends EchoEventPresentationModel {
|
||||
|
||||
public function getIconType() {
|
||||
// @todo create an icon to use here
|
||||
return 'placeholder';
|
||||
return 'watchlist-progressive';
|
||||
}
|
||||
|
||||
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