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">
|
|
|
|
<p>
|
2018-12-25 00:34:33 +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>
|
2018-09-09 19:31:34 +00:00
|
|
|
<img v-bind:src="$store.state.instance.logo"> <a v-bind:href="moreUrl" target="_blank">{{$t('who_to_follow.more')}}</a>
|
2018-02-11 14:12:05 +00:00
|
|
|
</p>
|
|
|
|
</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;
|
|
|
|
}
|
|
|
|
.who-to-follow p {
|
|
|
|
line-height: 40px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
</style>
|