Skip to content

Commit

Permalink
Add 'cancel' icon to campaigns UI
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Aug 1, 2020
1 parent 9c8b7ad commit d919766
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
28 changes: 14 additions & 14 deletions frontend/fontello/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,20 @@
"arrow-down"
]
},
{
"uid": "2ffb565ecad215e58aeec2e2d52a9d3e",
"css": "cancel",
"code": 59426,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M500 84Q582 84 659.2 115.2T794.9 205.1 884.8 340.8 916 500 884.8 659.2 794.9 794.9 659.2 884.8 500 916 340.8 884.8 205.1 794.9 115.2 659.2 84 500 115.2 340.8 205.1 205.1 340.8 115.2 500 84ZM500 166Q410.2 166 333 210.9T210.9 333 166 500Q166 613.3 236.3 705.1L705.1 236.3Q613.3 166 500 166ZM500 834Q589.8 834 667 789.1T789.1 667 834 500Q834 386.7 763.7 294.9L294.9 763.7Q386.7 834 500 834Z",
"width": 1000
},
"search": [
"cancel"
]
},
{
"uid": "f4ad3f6d071a0bfb3a8452b514ed0892",
"css": "vector-square",
Expand Down Expand Up @@ -26200,20 +26214,6 @@
"arrow-up-bold-box-outline"
]
},
{
"uid": "2ffb565ecad215e58aeec2e2d52a9d3e",
"css": "cancel",
"code": 984890,
"src": "custom_icons",
"selected": false,
"svg": {
"path": "M500 84Q582 84 659.2 115.2T794.9 205.1 884.8 340.8 916 500 884.8 659.2 794.9 794.9 659.2 884.8 500 916 340.8 884.8 205.1 794.9 115.2 659.2 84 500 115.2 340.8 205.1 205.1 340.8 115.2 500 84ZM500 166Q410.2 166 333 210.9T210.9 333 166 500Q166 613.3 236.3 705.1L705.1 236.3Q613.3 166 500 166ZM500 834Q589.8 834 667 789.1T789.1 667 834 500Q834 386.7 763.7 294.9L294.9 763.7Q386.7 834 500 834Z",
"width": 1000
},
"search": [
"cancel"
]
},
{
"uid": "150f3fab4099cb4f3d367a3941798c3d",
"css": "file-account",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/assets/icons/fontello.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@
.mdi-minus:before { content: '\e81f'; } /* '' */
.mdi-arrow-up:before { content: '\e820'; } /* '' */
.mdi-arrow-down:before { content: '\e821'; } /* '' */
.mdi-cancel:before { content: '\e822'; } /* '' */
Binary file modified frontend/src/assets/icons/fontello.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/views/Campaign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<div class="column">
<br />
<b-field v-if="form.sendLater"
:message="$utils.duration(Date(), form.sendAtDate)">
:message="form.sendAtDate ? $utils.duration(Date(), form.sendAtDate) : ''">
<b-datetimepicker
v-model="form.sendAtDate"
:disabled="!canEdit"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/Campaigns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
@click.prevent="$utils.confirm(null,
() => changeCampaignStatus(props.row, 'cancelled'))">
<b-tooltip label="Cancel" type="is-dark">
<b-icon icon="trash-can-outline" size="is-small" />
<b-icon icon="cancel" size="is-small" />
</b-tooltip>
</a>
<a href="" v-if="canDelete(props.row)"
Expand Down

0 comments on commit d919766

Please sign in to comment.