trashposs/src/client/app/desktop/views/components/followers-window.vue
Marcin Mikołajczak cb33949b76 even moar i18n
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-05-18 20:49:37 +02:00

28 lines
561 B
Vue

<template>
<mk-window width="400px" height="550px" @closed="$destroy">
<span slot="header" :class="$style.header">
<img :src="`${user.avatarUrl}?thumbnail&size=64`" alt=""/>%i18n:!@followers%.replace('{}', {{ user | userName }})
</span>
<mk-followers :user="user"/>
</mk-window>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['user']
});
</script>
<style lang="stylus" module>
.header
> img
display inline-block
vertical-align bottom
height calc(100% - 10px)
margin 5px
border-radius 4px
</style>