2018-02-11 14:12:05 +00:00
|
|
|
<template>
|
|
|
|
<div class="who-to-follow-panel">
|
|
|
|
<div class="panel panel-default base01-background">
|
|
|
|
<div class="panel-heading timeline-heading base02-background base04">
|
|
|
|
<div class="title">
|
2018-08-11 05:54:30 +00:00
|
|
|
{{$t('who_to_follow.who_to_follow')}}
|
2018-02-11 14:12:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body who-to-follow">
|
2019-01-04 08:43:00 +00:00
|
|
|
<span v-for="user in usersToFollow">
|
|
|
|
<img v-bind:src="user.img" />
|
|
|
|
<router-link v-bind:to="userProfileLink(user.id, user.name)">
|
|
|
|
{{user.name}}
|
|
|
|
</router-link><br />
|
|
|
|
</span>
|
2019-01-16 02:33:08 +00:00
|
|
|
<img v-bind:src="$store.state.instance.logo"> <router-link :to="{ name: 'who-to-follow' }">{{$t('who_to_follow.more')}}</router-link>
|
2018-02-11 14:12:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./who_to_follow_panel.js" ></script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.who-to-follow * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.who-to-follow img {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
2019-01-04 08:43:00 +00:00
|
|
|
.who-to-follow {
|
|
|
|
padding: 0.5em 1em 0.5em 1em;
|
|
|
|
margin: 0px;
|
2018-02-11 14:12:05 +00:00
|
|
|
line-height: 40px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
</style>
|