thelounge/client/components/MessageTypes/quit.vue

26 lines
438 B
Vue
Raw Normal View History

2018-07-10 11:10:37 +02:00
<template>
2018-07-09 12:44:12 +02:00
<span class="content">
<Username :user="message.from"/>
<i class="hostmask">({{ message.hostmask }})</i>
has quit
<i
v-if="message.text"
class="quit-reason"
v-html="'(' + $options.filters.parse(message.text) + ')'"/>
</span>
</template>
<script>
import Username from "../Username.vue";
export default {
name: "MessageTypeQuit",
components: {
Username,
},
props: {
message: Object,
},
};
</script>