diff options
author | Mario <mario@mariovavti.com> | 2022-01-13 13:07:59 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-13 13:07:59 +0000 |
commit | f4bc6ee61556a1693b2863829ec9a01c42f13f67 (patch) | |
tree | 2855af85d199a94c06f5bf4a127121729b6e7c5c /view/tpl/connection_template.tpl | |
parent | f8b8d8c5400983125c94fda47b99933a37f8961c (diff) | |
download | volse-hubzilla-f4bc6ee61556a1693b2863829ec9a01c42f13f67.tar.gz volse-hubzilla-f4bc6ee61556a1693b2863829ec9a01c42f13f67.tar.bz2 volse-hubzilla-f4bc6ee61556a1693b2863829ec9a01c42f13f67.zip |
ux improvements
Diffstat (limited to 'view/tpl/connection_template.tpl')
-rw-r--r-- | view/tpl/connection_template.tpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 090899cd6..a7f0f8759 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,8 +8,11 @@ {{/if}} <span id="contact-role-{{$contact.id}}" class="badge rounded-pill bg-warning text-dark me-1" title="{{$role_label}}">{{$contact.role}}</span> <button type="button" class="btn btn-outline-secondary btn-sm contact-edit" title="{{$contact.edit_hover}}" data-id="{{$contact.id}}"> - <i class="fa fa-pencil"></i> {{$contact.edit}} + <i id="edit-icon-{{$contact.id}}" class="fa fa-fw fa-pencil"></i> + <div id="edit-rotator-{{$contact.id}}" class="spinner-wrapper" style="vertical-align: text-bottom; margin-right: 2px"><div class="spinner s"></div></div> + {{$contact.edit}} </button> + </div> <h3>{{if $contact.public_forum}}<i class="fa fa-comments-o" title="{{$group_label}}"></i> {{/if}}<a href="{{$contact.url}}" title="{{$contact.img_hover}}" >{{$contact.name}}</a>{{if $contact.phone}} <a class="btn btn-outline-secondary btn-sm" href="tel:{{$contact.phone}}" title="{{$contact.call}}"><i class="fa fa-phone connphone"></i></a>{{/if}}</h3> </div> @@ -41,6 +44,9 @@ <span class="contact-info-label">{{$contact.network_label}}:</span> {{$contact.network}} - <a href="{{$contact.recentlink}}" rel="nofollow noopener">{{$contact.recent_label}}</a> </div> {{/if}} + {{if $contact.connect}} + <a href="{{$contact.follow}}" class="btn btn-success btn-sm" title="{{$contact.connect_hover}}"><i class="fa fa-plus"></i> {{$contact.connect}}</a> + {{/if}} </div> </div> |