diff options
author | Mario <mario@mariovavti.com> | 2024-07-24 18:26:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-24 18:26:50 +0000 |
commit | 014737fe2147a0ea730c576433855dc46759efdd (patch) | |
tree | 1874b952993f294244815896375ad506b43b618c /view | |
parent | eb8cab37f3516a10475fcb28b464db0b252e0a3b (diff) | |
download | volse-hubzilla-014737fe2147a0ea730c576433855dc46759efdd.tar.gz volse-hubzilla-014737fe2147a0ea730c576433855dc46759efdd.tar.bz2 volse-hubzilla-014737fe2147a0ea730c576433855dc46759efdd.zip |
fa2bi fixes
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/conv_item.tpl | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index ed8241545..58f70c1cf 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -106,7 +106,9 @@ {{foreach $item.responses as $verb=>$response}} {{if $item.reactions_allowed || (!$item.reactions_allowed && $response.count)}} <div class=""> - <button type="button" title="{{$response.count}} {{$response.button.label}}" class="btn btn-outline-secondary border-0 wall-item-{{$response.button.class}}"{{if $response.modal}} data-bs-toggle="modal" data-bs-target="#{{$verb}}Modal-{{$item.id}}"{{else if $response.count}} data-bs-toggle="dropdown"{{elseif $item.reactions_allowed}} onclick="{{$response.button.onclick}}({{$item.id}},'{{$verb}}'); return false;"{{/if}} id="wall-item-{{$verb}}-{{$item.id}}"><i class="bi bi-{{$response.button.icon}}"></i>{{if $response.count}} <span class="{{if $item.my_responses.$verb}}text-decoration-underline{{/if}}">{{$response.count}}</span>{{/if}}</button> + <button type="button" title="{{$response.count}} {{$response.button.label}}" class="btn btn-sm btn-outline-secondary border-0 wall-item-{{$response.button.class}}"{{if $response.modal}} data-bs-toggle="modal" data-bs-target="#{{$verb}}Modal-{{$item.id}}"{{else if $response.count}} data-bs-toggle="dropdown"{{elseif $item.reactions_allowed}} onclick="{{$response.button.onclick}}({{$item.id}},'{{$verb}}'); return false;"{{/if}} id="wall-item-{{$verb}}-{{$item.id}}"> + <i class="bi bi-{{$response.button.icon}} generic-icons"></i>{{if $response.count}}<span style="display: inline-block; margin-top: -.25rem;" class="align-top{{if $item.my_responses.$verb}} text-decoration-underline{{/if}}">{{$response.count}}</span>{{/if}} + </button> {{if $response.modal}} <div class="modal" id="{{$verb}}Modal-{{$item.id}}"> <div class="modal-dialog"> @@ -149,8 +151,8 @@ {{/foreach}} {{if $item.toplevel && $item.emojis && $item.reactions}} <div class=""> - <button type="button" class="btn btn-outline-secondary border-0" data-bs-toggle="dropdown" id="wall-item-react-{{$item.id}}"> - <i class="bi bi-emoji-smile"></i> + <button type="button" class="btn btn-sm btn-outline-secondary border-0" data-bs-toggle="dropdown" id="wall-item-react-{{$item.id}}"> + <i class="bi bi-emoji-smile generic-icons"></i> </button> <div class="dropdown-menu dropdown-menu-start container text-center w-25"> <div class="row g-0"> @@ -176,23 +178,23 @@ {{else}} {{if $item.star && $item.star.isstarred}} <div class="" id="star-button-{{$item.id}}"> - <button type="button" class="btn btn-outline-secondary border-0 wall-item-star" onclick="dostar({{$item.id}});"><i class="bi bi-star"></i></button> + <button type="button" class="btn btn-sm btn-outline-secondary border-0 wall-item-star" onclick="dostar({{$item.id}});"><i class="bi bi-star generic-icons"></i></button> </div> {{/if}} {{if $item.attachments}} <div class=""> - <button type="button" class="btn btn-outline-secondary border-0 wall-item-attach" data-bs-toggle="dropdown" id="attachment-menu-{{$item.id}}"><i class="bi bi-paperclip"></i></button> + <button type="button" class="btn btn-sm btn-outline-secondary border-0 wall-item-attach" data-bs-toggle="dropdown" id="attachment-menu-{{$item.id}}"><i class="bi bi-paperclip generic-icons"></i></button> <div class="dropdown-menu dropdown-menu-end">{{$item.attachments}}</div> </div> {{/if}} {{if $item.reply_to}} - <button type="button" title="{{$item.reply_to.0}}" class="btn btn-outline-secondary border-0" onclick="doreply({{$item.parent}}, {{$item.id}}, '{{$item.author_id}}', '{{$item.reply_to.2}} {{$item.name|escape:javascript}}');"> - <i class="bi bi-arrow-90deg-left" ></i> + <button type="button" title="{{$item.reply_to.0}}" class="btn btn-sm btn-outline-secondary border-0" onclick="doreply({{$item.parent}}, {{$item.id}}, '{{$item.author_id}}', '{{$item.reply_to.2}} {{$item.name|escape:javascript}}');"> + <i class="bi bi-arrow-90deg-left generic-icons" ></i> </button> {{/if}} <div class=""> - <button type="button" class="btn btn-outline-secondary border-0" data-bs-toggle="dropdown" id="wall-item-menu-{{$item.id}}"> - <i class="bi bi-three-dots-vertical"></i> + <button type="button" class="btn btn-sm btn-outline-secondary border-0" data-bs-toggle="dropdown" id="wall-item-menu-{{$item.id}}"> + <i class="bi bi-three-dots-vertical generic-icons"></i> </button> <div class="dropdown-menu dropdown-menu-end" role="menu" aria-labelledby="wall-item-menu-{{$item.id}}"> {{if $item.share}} |