Update subscription event icon to be more generic

refs: https://github.com/TryGhost/Team/issues/1373
This commit is contained in:
James Morris 2022-03-09 12:20:41 +00:00
parent f62a08d50e
commit 61ac6e9e22
3 changed files with 3 additions and 9 deletions

View File

@ -37,7 +37,7 @@ function getIcon(event) {
}
if (event.type === 'payment_event') {
icon = 'changed-subscription';
icon = 'subscriptions';
}
if (event.type === 'newsletter_event') {
@ -49,10 +49,10 @@ function getIcon(event) {
}
if (event.type === 'subscription_event') {
icon = 'started-subscription';
icon = 'subscriptions';
if (event.data.from_plan === null) {
icon = 'started-subscription';
icon = 'subscriptions';
}
if (event.data.to_plan === null) {

View File

@ -1,6 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 6.12888V3.12891" stroke="#95A1AD" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6 14.1288C6 15.6288 7.33999 16.1288 8.99997 16.1288C10.66 16.1288 11.9999 16.1288 11.9999 14.1288C11.9999 11.1289 6 11.1289 6 8.12889C6 6.12891 7.33999 6.12891 8.99997 6.12891C10.66 6.12891 11.9999 6.8889 11.9999 8.12889" stroke="#95A1AD" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 16.1289V19.1289" stroke="#95A1AD" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14 18.1104L15.8232 19.9336C15.9209 20.0312 16.0791 20.0312 16.1768 19.9336L20.5 15.6104" stroke="#30CF43" stroke-width="1.44" stroke-linecap="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 821 B

View File

Before

Width:  |  Height:  |  Size: 692 B

After

Width:  |  Height:  |  Size: 692 B