mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
pug to html
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
<template lang="pug">
|
||||
base-notification(
|
||||
:can-remove="canRemove",
|
||||
:has-icon="true",
|
||||
:notification="notification",
|
||||
:read-after-click="true",
|
||||
@click="action"
|
||||
)
|
||||
div(slot="content", v-html="$t('unallocatedStatsPoints', {points: notification.data.points})")
|
||||
.svg-icon(slot="icon", v-html="icons.sparkles")
|
||||
<template>
|
||||
<base-notification
|
||||
:can-remove="canRemove"
|
||||
:has-icon="true"
|
||||
:notification="notification"
|
||||
:read-after-click="true"
|
||||
@click="action"
|
||||
>
|
||||
<div
|
||||
slot="content"
|
||||
v-html="$t('unallocatedStatsPoints', {points: notification.data.points})"
|
||||
></div><div
|
||||
slot="icon"
|
||||
class="svg-icon"
|
||||
v-html="icons.sparkles"
|
||||
></div>
|
||||
</base-notification>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user