Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add 'cancel' icon to campaigns UI

Kailash Nadhd9197668c605
diff --git a/frontend/fontello/config.json b/frontend/fontello/config.json
index 5c7bb567..d8d691ab 100644
--- a/frontend/fontello/config.json
+++ b/frontend/fontello/config.json
@@ -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",
@@ -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",
diff --git a/frontend/src/assets/icons/fontello.css b/frontend/src/assets/icons/fontello.css
index 68d73787..10bf8e79 100644
--- a/frontend/src/assets/icons/fontello.css
+++ b/frontend/src/assets/icons/fontello.css
@@ -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'; } /* '' */
diff --git a/frontend/src/assets/icons/fontello.woff2 b/frontend/src/assets/icons/fontello.woff2
index 843a5c42..e6a4f868 100644
Binary files a/frontend/src/assets/icons/fontello.woff2 and b/frontend/src/assets/icons/fontello.woff2 differ
diff --git a/frontend/src/views/Campaign.vue b/frontend/src/views/Campaign.vue
index 1b4e4f69..ad8badf9 100644
--- a/frontend/src/views/Campaign.vue
+++ b/frontend/src/views/Campaign.vue
@@ -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"
diff --git a/frontend/src/views/Campaigns.vue b/frontend/src/views/Campaigns.vue
index 2daa45a7..7123a2a8 100644
--- a/frontend/src/views/Campaigns.vue
+++ b/frontend/src/views/Campaigns.vue
@@ -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)"