Refactoring

This commit is contained in:
syuilo 2018-11-16 22:31:28 +09:00
parent 0ff390ed80
commit 831e8f8583
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -17,14 +17,12 @@
<span>{{ this.$t('reposted-by').substr(this.$t('reposted-by').indexOf('}') + 1) }}</span> <span>{{ this.$t('reposted-by').substr(this.$t('reposted-by').indexOf('}') + 1) }}</span>
<mk-time :time="note.createdAt"/> <mk-time :time="note.createdAt"/>
<span class="visibility" v-if="note.visibility != 'public'"> <span class="visibility" v-if="note.visibility != 'public'">
<template v-if="note.visibility == 'home'"><fa icon="home"/></template> <fa v-if="note.visibility == 'home'" icon="home"/>
<template v-if="note.visibility == 'followers'"><fa icon="unlock"/></template> <fa v-if="note.visibility == 'followers'" icon="unlock"/>
<template v-if="note.visibility == 'specified'"><fa icon="envelope"/></template> <fa v-if="note.visibility == 'specified'" icon="envelope"/>
<template v-if="note.visibility == 'private'"><fa icon="lock"/></template> <fa v-if="note.visibility == 'private'" icon="lock"/>
</span>
<span class="localOnly" v-if="note.localOnly == true">
<template><fa icon="heart"/></template>
</span> </span>
<span class="localOnly" v-if="note.localOnly == true"><fa icon="heart"/></span>
</div> </div>
<article> <article>
<mk-avatar class="avatar" :user="appearNote.user" v-if="$store.state.device.postStyle != 'smart'"/> <mk-avatar class="avatar" :user="appearNote.user" v-if="$store.state.device.postStyle != 'smart'"/>