feat(mail): Change spam icon and add spam button to mail interface

This commit is contained in:
smizrahi
2026-09-04 16:08:52 +02:00
committed by Hivert Quentin
parent 3673f8c6eb
commit 7f0aa79100
8 changed files with 6 additions and 7 deletions
@@ -181,7 +181,7 @@
<md-icon>delete</md-icon>
</md-button>
<md-button class="sg-icon-button" ng-click="mailbox.markOrUnMarkMessagesAsJunk()">
<md-icon ng-hide="::mailbox.service.selectedFolder.type == 'junk'">whatshot</md-icon>
<md-icon ng-hide="::mailbox.service.selectedFolder.type == 'junk'">gpp_bad</md-icon>
<md-tooltip ng-hide="::mailbox.service.selectedFolder.type == 'junk'" md-direction="bottom"><var:string label:value="Junk"/></md-tooltip>
<md-icon ng-hide="::mailbox.service.selectedFolder.type != 'junk'">thumb_up</md-icon>
<md-tooltip ng-hide="::mailbox.service.selectedFolder.type != 'junk'" md-direction="bottom"><var:string label:value="Not junk"/></md-tooltip>
@@ -50,7 +50,7 @@
ng-click="viewer.markOrUnMarkAsJunk()">
<md-tooltip md-direction="bottom" ng-hide="::viewer.mailbox.type == 'junk'"><var:string label:value="Junk"/></md-tooltip>
<md-tooltip md-direction="bottom" ng-show="::viewer.mailbox.type == 'junk'"><var:string label:value="Not junk"/></md-tooltip>
<md-icon ng-hide="::viewer.mailbox.type == 'junk'">whatshot</md-icon>
<md-icon ng-hide="::viewer.mailbox.type == 'junk'">gpp_bad</md-icon>
<md-icon ng-show="::viewer.mailbox.type == 'junk'">thumb_up</md-icon>
</md-button>
<md-button class="sg-icon-button"
@@ -207,7 +207,7 @@
}
else if (this.type == 'junk') {
this.$displayName = l('JunkFolderName');
this.$icon = 'thumb_down';
this.$icon = 'gpp_bad';
}
else if (this.type == 'templates') {
this.$displayName = l('TemplatesFolderName');
@@ -11,10 +11,9 @@ $icon-badge-size: 2 * $baseline-grid;
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url('../fonts/MaterialIcons-Regular.eot'); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
/* No local() sources: always use the bundled font so an outdated
Material Icons font installed on the OS can't shadow it. */
src: url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
url('../fonts/MaterialIcons-Regular.woff') format('woff'),
url('../fonts/MaterialIcons-Regular.ttf') format('truetype');
}