Improved visuals and tooltips for quick alerts.
This commit is contained in:
parent
a63009509a
commit
2bae1de247
|
@ -108,8 +108,15 @@
|
|||
<div class="alert-meta">
|
||||
<div class="alert-triggers">
|
||||
<Icon
|
||||
v-if="alert.notify"
|
||||
v-tooltip="alert.notify ? 'Notify in traxxx' : undefined"
|
||||
v-if="alert.notify && alert.isFromPreset"
|
||||
v-tooltip="'Notify in traxxx, added as quick alert'"
|
||||
icon="bell-plus"
|
||||
class="trigger"
|
||||
/>
|
||||
|
||||
<Icon
|
||||
v-else-if="alert.notify"
|
||||
v-tooltip="'Notify in traxxx'"
|
||||
icon="bell2"
|
||||
class="trigger"
|
||||
/>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<Icon
|
||||
v-if="itemAlerted"
|
||||
icon="bell2"
|
||||
:title="`Remove alerts for '${item.title || item.name}'`"
|
||||
:title="`Remove uncombined alerts for '${item.title || item.name}'`"
|
||||
class="alert active noselect"
|
||||
@click="removeAlert"
|
||||
/>
|
||||
|
|
|
@ -11,6 +11,7 @@ function curateAlert(alert, context = {}) {
|
|||
notify: alert.notify,
|
||||
email: alert.email,
|
||||
createdAt: alert.created_at,
|
||||
isFromPreset: alert.from_preset,
|
||||
and: {
|
||||
fields: alert.all,
|
||||
actors: alert.all_actors,
|
||||
|
|
Loading…
Reference in New Issue