Merge pull request #2385 from Human-Connection/swap_user_handle_with_name

feat: swap user name<=>handle for discriminability
This commit is contained in:
Robert Schäfer 2019-12-03 18:46:33 +01:00 committed by GitHub
commit ab4f658b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,18 +12,16 @@
<hc-avatar class="avatar" :user="user" />
<div>
<ds-text class="userinfo">
<b class="username">{{ userName | truncate(18) }}</b>
<ds-text v-if="dateTime" size="small" color="soft">
<base-icon name="clock" />
<client-only>
<hc-relative-date-time :date-time="dateTime" />
</client-only>
<slot name="dateTime"></slot>
</ds-text>
<b>{{ userSlug }}</b>
</ds-text>
</div>
<ds-text align="left" size="small" color="soft">
{{ userSlug }}
<ds-text class="username" align="left" size="small" color="soft">
{{ userName | truncate(18) }}
<base-icon name="clock" />
<template v-if="dateTime">
<hc-relative-date-time :date-time="dateTime" />
<slot name="dateTime"></slot>
</template>
</ds-text>
</div>
</nuxt-link>