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