2016-11-30 22:32:22 +00:00
|
|
|
<template>
|
2017-06-12 14:20:02 +00:00
|
|
|
<div>
|
2018-03-31 18:14:36 +00:00
|
|
|
<div v-if="user" class="user-profile panel panel-default">
|
2018-04-15 04:26:55 +00:00
|
|
|
<user-card-content :user="user" :switcher="true" :selected="timeline.viewing"></user-card-content>
|
2017-06-12 14:20:02 +00:00
|
|
|
</div>
|
2018-03-12 00:59:03 +00:00
|
|
|
<Timeline :title="$t('user_profile.timeline_title')" :timeline="timeline" :timeline-name="'user'" :user-id="userId"/>
|
2016-11-30 22:32:22 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./user_profile.js"></script>
|
2016-12-08 08:09:21 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
2017-02-22 21:08:14 +00:00
|
|
|
.user-profile {
|
2018-04-07 16:30:27 +00:00
|
|
|
flex: 2;
|
|
|
|
flex-basis: 500px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
.panel-heading {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2017-02-22 21:08:14 +00:00
|
|
|
}
|
2016-12-08 08:09:21 +00:00
|
|
|
</style>
|