diff options
author | Mario <mario@mariovavti.com> | 2022-01-19 11:24:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-19 11:24:42 +0000 |
commit | d98d56c3b5481e12dc53136c06b6c9c069d40d98 (patch) | |
tree | a7dc56dbd8f82b194c3a15627596b42cd00e4670 /view/tpl/search_item.tpl | |
parent | 5f21edcc53182cc04176657318a7b2933e7a71aa (diff) | |
download | volse-hubzilla-d98d56c3b5481e12dc53136c06b6c9c069d40d98.tar.gz volse-hubzilla-d98d56c3b5481e12dc53136c06b6c9c069d40d98.tar.bz2 volse-hubzilla-d98d56c3b5481e12dc53136c06b6c9c069d40d98.zip |
provide a spinner for edit connection action in threads
Diffstat (limited to 'view/tpl/search_item.tpl')
-rw-r--r-- | view/tpl/search_item.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index cb9ad57cc..bcd6af9b2 100644 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -23,6 +23,9 @@ <div class="p-2 clearfix wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" > <div class="wall-item-info" id="wall-item-info-{{$item.id}}" > <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}"> + {{if $item.contact_id}} + <div id="contact-edit-rotator-{{$item.contact_id}}" class="spinner-wrapper contact-edit-rotator"><div class="spinner s"></div></div> + {{/if}} <img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" loading="lazy" /> {{if $item.author_is_group_actor}} <i class="fa fa-comments-o wall-item-photo-group-actor" title="{{$item.author_is_group_actor}}"></i> @@ -31,7 +34,7 @@ <i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i> <div class="dropdown-menu"> {{foreach $item.thread_author_menu as $mitem}} - <a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a> + <a class="dropdown-item{{if $mitem.class}} {{$mitem.class}}{{/if}}" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}}{{if $mitem.data}} {{$mitem.data}}{{/if}}>{{$mitem.title}}</a> {{/foreach}} </div> {{/if}} |