commit
This commit is contained in:
parent
ebc4c938ff
commit
f39a5b03d4
4 changed files with 10 additions and 8 deletions
|
@ -342,8 +342,9 @@
|
||||||
<b-navbar-item tag="router-link" to="/creations">{{$t('navbar.user.creations')}}</b-navbar-item>
|
<b-navbar-item tag="router-link" to="/creations">{{$t('navbar.user.creations')}}</b-navbar-item>
|
||||||
<b-navbar-item tag="router-link" to="/downloads">{{$t('navbar.user.downloads')}}</b-navbar-item>
|
<b-navbar-item tag="router-link" to="/downloads">{{$t('navbar.user.downloads')}}</b-navbar-item>
|
||||||
<b-navbar-item tag="router-link" to="/admin" v-if="$store.state.user.admin">{{$t('navbar.user.admin')}}</b-navbar-item>
|
<b-navbar-item tag="router-link" to="/admin" v-if="$store.state.user.admin">{{$t('navbar.user.admin')}}</b-navbar-item>
|
||||||
<b-navbar-item tag="router-link" to="/friends"><b-tag class="is-info" rounded v-if="friendCount > 0"> {{ friendCount }}</b-tag> <p>{{$t('navbar.user.friends')}}</p></b-navbar-item>
|
<b-navbar-item tag="router-link" to="/friends"><p>{{$t('navbar.user.friends')}} </p><p v-if="friendCount > 0"> ({{ friendCount }})</p></b-navbar-item>
|
||||||
<b-navbar-item @click="logout()">{{$t('navbar.user.logout')}}</b-navbar-item>
|
<div class="dropdown-divider"></div>
|
||||||
|
<b-navbar-item class="has-text-danger" @click="logout()">{{$t('navbar.user.logout')}}</b-navbar-item>
|
||||||
</b-navbar-dropdown>
|
</b-navbar-dropdown>
|
||||||
<b-navbar-item v-if="loading">
|
<b-navbar-item v-if="loading">
|
||||||
<div class="fa-1x">
|
<div class="fa-1x">
|
||||||
|
|
|
@ -79,10 +79,10 @@
|
||||||
thread.Posts[1].createdAt | formatDate
|
thread.Posts[1].createdAt | formatDate
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<span title="Replies to thread" v-if="thread.Posts[0]">
|
<span title="Replies to thread" v-if="thread.Posts[0]" class="is-hidden-mobile">
|
||||||
Replies: {{ thread.postsCount - 1 }}
|
Replies: {{ thread.postsCount - 1 }}
|
||||||
</span>
|
</span>
|
||||||
<span title="Replies to thread" v-else> Replies: 0 </span>
|
<span title="Replies to thread" class="is-hidden-mobile" v-else> Replies: 0 </span>
|
||||||
</div>
|
</div>
|
||||||
<div class="thread_display__content">
|
<div class="thread_display__content">
|
||||||
{{ thread.Posts[0].plainText }}
|
{{ thread.Posts[0].plainText }}
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="columns is-centered">
|
<div class="columns is-centered">
|
||||||
<div class="column is-4">
|
<div class="column is-4">
|
||||||
<div class="title">
|
|
||||||
{{ $store.state.user.username }}
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
<div class="title">
|
||||||
|
{{ $store.state.user.username }}
|
||||||
|
</div>
|
||||||
<img :src="'https://cdn.kaverti.com/user/avatars/full/' + $store.state.user.avatar + '.png'" alt="Avatar" width="50%">
|
<img :src="'https://cdn.kaverti.com/user/avatars/full/' + $store.state.user.avatar + '.png'" alt="Avatar" width="50%">
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<article class="media">
|
<article class="media">
|
||||||
<figure class="media-left">
|
<figure class="media-left">
|
||||||
<figure class="image is-64x64 is-rounded">
|
<figure class="image is-64x64 is-rounded">
|
||||||
<img :src="'https://cdn.kaverti.com/user/avatars/headshot/' + post.fromUser.picture + '.png'" alt="Avatar">
|
<img :src="'https://cdn.kaverti.com/user/avatars/headshot/' + post.fromUser.picture + '.png'" alt="Avatar" class="is-rounded">
|
||||||
</figure>
|
</figure>
|
||||||
</figure>
|
</figure>
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
"
|
"
|
||||||
:alt="user.username + '\'s avatar'"
|
:alt="user.username + '\'s avatar'"
|
||||||
width="50%"
|
width="50%"
|
||||||
|
class="is-centered"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons is-centered">
|
<div class="buttons is-centered">
|
||||||
|
|
Loading…
Reference in a new issue