mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-10 07:58:01 +00:00
feat(mail): Change spam icon and add spam button to mail interface
This commit is contained in:
@@ -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"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user