Improve post direction display
- [frio] Change icon for commented direction - Update English translation string for commented direction
This commit is contained in:
parent
3d455645e7
commit
730a5c5725
|
@ -725,7 +725,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
|
|||
|
||||
if (!empty($parentlines) && empty($direction) && ($row['gravity'] == GRAVITY_COMMENT)
|
||||
&& Contact::isSharing($row['author-id'], $row['uid'])) {
|
||||
$direction = ['direction' => 2, 'title' => DI::l10n()->t('%s commented this.', $row['author-name'])];
|
||||
$direction = ['direction' => 5, 'title' => DI::l10n()->t('%s commented on this.', $row['author-name'])];
|
||||
}
|
||||
|
||||
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
<i class="fa fa-share-alt" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{elseif $direction.direction == 4}}
|
||||
<i class="fa fa-hashtag" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{elseif $direction.direction == 5}}
|
||||
<i class="fa fa-comment-o" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
<i class="icon-share" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{elseif $direction.direction == 4}}
|
||||
<i class="icon-tag" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{elseif $direction.direction == 5}}
|
||||
<i class="icon-commenting" aria-hidden="true" title="{{$direction.title}}"></i>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user