$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'])
- && !Contact::isSharing($row['author-id'], $row['uid'])) {
- if ($row['post-type'] == Item::PT_TAG) {
- $row['direction'] = ['direction' => 4, 'title' => DI::l10n()->t('Tagged')];
+ if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])) {
+ if (!Contact::isSharing($row['author-id'], $row['uid'])) {
+ if ($row['post-type'] == Item::PT_TAG) {
+ $row['direction'] = ['direction' => 4, 'title' => DI::l10n()->t('Tagged')];
+ }
+ $parentlines[] = $lineno;
+ } else {
+ $row['direction'] = ['direction' => 6, 'title' => DI::l10n()->t('You are following %s.', $row['author-name'])];
}
-
- $parentlines[] = $lineno;
}
if ($row['gravity'] == GRAVITY_PARENT) {
<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>
+ {{elseif $direction.direction == 6}}
+ <i class="fa fa-check" aria-hidden="true" title="{{$direction.title}}"></i>
+ {{elseif $direction.direction == 7}}
+ <i class="fa fa-at" aria-hidden="true" title="{{$direction.title}}"></i>
{{/if}}
</span>
{{/if}}
<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>
+ {{elseif $direction.direction == 6}}
+ <i class="icon-ok-sign" aria-hidden="true" title="{{$direction.title}}"></i>
+ {{elseif $direction.direction == 7}}
+ <i class="icon-forward" aria-hidden="true" title="{{$direction.title}}"></i>
{{/if}}
</span>
{{/if}}