friendica-github/view/theme/vier/templates/sub/direction.tpl
Hypolite Petovan 730a5c5725 Improve post direction display
- [frio] Change icon for commented direction
- Update English translation string for commented direction
2020-09-03 15:45:53 -04:00

16 lines
667 B
Smarty

{{if $direction.direction > 0}}
<span class="direction">
&bull;
{{if $direction.direction == 1}}
<i class="icon-inbox" aria-hidden="true" title="{{$direction.title}}"></i>
{{elseif $direction.direction == 2}}
<i class="icon-download" aria-hidden="true" title="{{$direction.title}}"></i>
{{elseif $direction.direction == 3}}
<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}}