Add replies.
This commit is contained in:
parent
78538da82f
commit
7e2c52b12c
3 changed files with 25 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
<div class="status-el">
|
||||
<div v-if="retweet" class="media container retweet-info">
|
||||
<div class="media-left">
|
||||
<i class='fa fa-retweet'></i>
|
||||
<i class='fa icon-retweet'></i>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
Retweeted by {{retweeter}}
|
||||
|
@ -34,8 +34,10 @@
|
|||
|
||||
<div>
|
||||
<div class='status-actions'>
|
||||
<div ng-click="toggleReplying()">
|
||||
<i class='fa icon-reply'></i>
|
||||
<div>
|
||||
<a href="#" v-on:click.prevent="toggleReplying()">
|
||||
<i class='fa icon-reply'></i>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<i class='fa icon-retweet'></i>
|
||||
|
@ -43,7 +45,7 @@
|
|||
<favorite-button :status=status></favorite-button>
|
||||
</div>
|
||||
|
||||
<!-- <post-status-form ng-if="replying" toggle="toggleReplying" reply-to-status="status" reply-to="{{status.id}}"></post-status-form> -->
|
||||
<post-status-form v-if="replying" :reply-to="status.id"></post-status-form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -55,6 +57,7 @@
|
|||
<style lang="scss">
|
||||
.status-el {
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
|
||||
a {
|
||||
word-break: break-all;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue