mirror of
https://github.com/friendica/friendica
synced 2024-11-16 07:33:54 +00:00
25 lines
1 KiB
Smarty
25 lines
1 KiB
Smarty
{{*
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*}}
|
|
|
|
<div class="wall-item-actions" id="wall-item-like-buttons-{{$id}}">
|
|
<button type="button"
|
|
class="btn-link button-likes{{if $responses.like.self}} active" aria-pressed="true{{/if}}" id="like-{{$id}}"
|
|
title="{{$like_title}}"
|
|
onclick="doActivityItemAction({{$id}}, 'like'{{if $responses.like.self}}, true{{/if}});">
|
|
<i class="fa fa-thumbs-up" aria-hidden="true"></i> {{$like}}
|
|
</button>
|
|
{{if !$hide_dislike}}
|
|
<span class="icon-padding"> </span>
|
|
<button type="button"
|
|
class="btn-link button-likes{{if $responses.dislike.self}} active" aria-pressed="true{{/if}}"
|
|
id="dislike-{{$id}}"
|
|
title="{{$dislike_title}}"
|
|
onclick="doActivityItemAction({{$id}}, 'dislike'{{if $responses.dislike.self}}, true{{/if}});">
|
|
<i class="fa fa-thumbs-down" aria-hidden="true"></i> {{$dislike}}
|
|
</button>
|
|
{{/if}}
|
|
</div>
|