2018-02-10 06:55:11 +00:00
|
|
|
<div class="status-toolbar {{isStatusInOwnThread ? 'status-in-own-thread' : ''}}">
|
2018-01-28 20:51:48 +00:00
|
|
|
<IconButton
|
|
|
|
label="Reply"
|
|
|
|
href="#fa-reply"
|
|
|
|
/>
|
|
|
|
<IconButton
|
|
|
|
label="Boost"
|
|
|
|
pressable="true"
|
|
|
|
pressed="{{status.reblogged}}"
|
|
|
|
href="{{status.visibility === 'private' ? '#fa-lock' : status.visibility === 'direct' ? '#fa-envelope' : '#fa-retweet'}}"
|
|
|
|
/>
|
|
|
|
<IconButton
|
|
|
|
label="Favorite"
|
|
|
|
pressable="true"
|
|
|
|
pressed="{{status.favourited}}"
|
|
|
|
href="#fa-star"
|
|
|
|
/>
|
|
|
|
<IconButton
|
|
|
|
label="Show more actions"
|
|
|
|
href="#fa-ellipsis-h"
|
|
|
|
/>
|
2018-01-21 05:42:46 +00:00
|
|
|
</div>
|
|
|
|
<style>
|
|
|
|
.status-toolbar {
|
2018-02-10 04:07:48 +00:00
|
|
|
grid-area: toolbar;
|
2018-01-21 05:42:46 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2018-02-10 06:55:11 +00:00
|
|
|
.status-toolbar.status-in-own-thread {
|
|
|
|
margin-left: 58px;
|
|
|
|
}
|
2018-01-21 05:42:46 +00:00
|
|
|
</style>
|
|
|
|
<script>
|
2018-01-28 20:51:48 +00:00
|
|
|
|
|
|
|
import IconButton from '../IconButton.html'
|
|
|
|
|
2018-01-21 05:42:46 +00:00
|
|
|
export default {
|
2018-01-28 20:51:48 +00:00
|
|
|
components: {
|
|
|
|
IconButton
|
|
|
|
}
|
2018-01-21 05:42:46 +00:00
|
|
|
}
|
|
|
|
</script>
|