diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-25 20:03:26 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-25 20:03:26 -0700 |
commit | 7f982a07781f09756d852f423bba37dc11abf2a5 (patch) | |
tree | 62afac66af7dcffcc01aded704a6711e5f86fa19 /view/tpl/connection_template.tpl | |
parent | 28a1be4d36bf0ec54d053bb9decbe619361682cb (diff) | |
download | volse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.tar.gz volse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.tar.bz2 volse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.zip |
minor usability enhancements with the connections list - label the edit icon so it's more obvious; the intuitive action is to click the photo or name which isn't what we usually want. Also move the Delete button over just a bit more so it's harder to accidentally click on small screens with big thumbs.
Diffstat (limited to 'view/tpl/connection_template.tpl')
-rwxr-xr-x | view/tpl/connection_template.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 16915abda..8e49c9e27 100755 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,8 +8,8 @@ <a href="connedit/{{$contact.id}}/ignore" class="btn btn-warning btn-sm" title="{{$contact.ignore_hover}}"><i class="fa fa-ban"></i> {{$contact.ignore}}</a> {{/if}} - <a href="#" class="btn btn-danger btn-sm" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="fa fa-trash-o"></i> {{$contact.delete}}</a> - <a href="{{$contact.link}}" class="btn btn-outline-secondary btn-sm" title="{{$contact.edit_hover}}"><i class="fa fa-pencil"></i></a> + <a href="#" class="btn btn-danger btn-sm contact-delete-btn" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="fa fa-trash-o"></i> {{$contact.delete}}</a> + <a href="{{$contact.link}}" class="btn btn-outline-secondary btn-sm" title="{{$contact.edit_hover}}"><i class="fa fa-pencil"></i> {{$contact.edit}}</a> {{if $contact.approve}} </form> {{/if}} |