mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Quick group fixes (#9001)
* Added tavern background and fixed notification key * Fixed notification on error response * Fixed group plans header * Updated images/icons in tavern
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<template lang="pug">
|
||||
transition(name="fade")
|
||||
.notification.callout.animated(:class="classes", v-if='show')
|
||||
.row(v-if='notification.type !== "info" && notification.type !== "drop"')
|
||||
.row(v-if='notification.type === "error"')
|
||||
.text.col-12
|
||||
div(v-html='notification.text')
|
||||
.row(v-if='notification.type !== "info" && notification.type !== "error" && notification.type !== "drop"')
|
||||
.text.col-7.offset-1
|
||||
div
|
||||
| {{message}}
|
||||
@@ -14,7 +17,7 @@ transition(name="fade")
|
||||
.row(v-if='notification.type === "info"')
|
||||
.text.col-12
|
||||
div(v-html='notification.text')
|
||||
.row(v-if='notification.type !== "info" && notification.type === "drop"')
|
||||
.row(v-if='notification.type !== "info" && notification.type !== "error" && notification.type === "drop"')
|
||||
.col-2
|
||||
.icon-item
|
||||
div(:class='notification.icon')
|
||||
@@ -39,6 +42,11 @@ transition(name="fade")
|
||||
padding-top: .5em;
|
||||
}
|
||||
|
||||
.error {
|
||||
background-color: #f74e52;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.negative {
|
||||
background-color: #f74e52;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user