mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Activities are now displayed as Emojis
This commit is contained in:
parent
960fdb9076
commit
608b5a37a4
9 changed files with 264 additions and 70 deletions
|
@ -277,12 +277,20 @@
|
|||
</p><!--./wall-item-actions-->
|
||||
|
||||
{{* Display likes, dislike and attendance stats *}}
|
||||
{{if $item.responses}}
|
||||
<div class="wall-item-responses">
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
<div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
|
||||
{{if $item.emojis}}
|
||||
{{foreach $item.emojis as $emoji}}
|
||||
{{if $emoji.icon.fa}}
|
||||
<span class="wall-item-emoji" title="{{$emoji.title}}"><i class="fa {{$emoji.icon.fa}}" aria-hidden="true"></i> {{$emoji.total}}</span>
|
||||
{{else}}
|
||||
<span class="wall-item-emoji" title="{{$emoji.title}}">{{$emoji.emoji}} {{$emoji.total}}</span>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{elseif $item.responses}}
|
||||
<div class="wall-item-responses">
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
<div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" dir="auto">
|
||||
|
|
|
@ -582,13 +582,21 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<div class="wall-item-links"></div>
|
||||
|
||||
{{* Display likes, dislike and attendance stats *}}
|
||||
{{if $item.responses}}
|
||||
<div class="wall-item-responses">
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
<div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
|
||||
{{if $item.emojis}}
|
||||
{{foreach $item.emojis as $emoji}}
|
||||
{{if $emoji.icon.fa}}
|
||||
<span class="wall-item-emoji" title="{{$emoji.title}}"><i class="fa {{$emoji.icon.fa}}" aria-hidden="true"></i> {{$emoji.total}}</span>
|
||||
{{else}}
|
||||
<span class="wall-item-emoji" title="{{$emoji.title}}">{{$emoji.emoji}} {{$emoji.total}}</span>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{elseif $item.responses}}
|
||||
<div class="wall-item-responses">
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
<div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{* Insert comment box of threaded children *}}
|
||||
{{if $item.threaded && $item.comment_html && $item.indent==comment}}
|
||||
|
|
|
@ -160,7 +160,11 @@
|
|||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
<div class="wall-item-links"></div>
|
||||
{{if $item.responses}}
|
||||
{{if $item.emojis}}
|
||||
{{foreach $item.emojis as $emoji}}
|
||||
<span class="wall-item-emoji" title="{{$emoji.title}}">{{$emoji.emoji}} {{$emoji.total}}</span>
|
||||
{{/foreach}}
|
||||
{{elseif $item.responses}}
|
||||
{{foreach $item.responses as $verb=>$response}}
|
||||
<div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
|
||||
{{/foreach}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue