diff options
author | redmatrix <git@macgirvin.com> | 2016-01-26 16:57:36 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-26 16:57:36 -0800 |
commit | 9b08051703ff6695ba989f1cb968200ca59daeb1 (patch) | |
tree | 745af4986ad5d93c17d459c857ab21ac898197cb /view | |
parent | 9c71b74d373001ac47add095fc204bddb25ee91d (diff) | |
download | volse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.tar.gz volse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.tar.bz2 volse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.zip |
bring back the ability to ignore a pending connection request without deleting it and without always having it in your face and without jumping through hoops.
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/connection_template.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 143989971..b2107306e 100755 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -1,9 +1,12 @@ <div id="contact-entry-wrapper-{{$contact.id}}"> <div class="section-subtitle-wrapper"> <div class="pull-right"> - {{if $contact.approve}} + {{if $contact.approve && $contact.ignore}} <form action="connedit/{{$contact.id}}" method="post" > <button type="submit" class="btn btn-success btn-xs" name="pending" value="1" title="{{$contact.approve_hover}}"><i class="icon-ok"></i> {{$contact.approve}}</button> + + <a href="connedit/{{$contact.id}}/ignore" class="btn btn-danger btn-xs" title={{$contact.ignore_hover}}><i class="icon-ban-circle"></i> {{$contact.ignore}}</a> + {{/if}} <a href="#" class="btn btn-danger btn-xs" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="icon-trash"></i> {{$contact.delete}}</a> <a href="{{$contact.link}}" class="btn btn-default btn-xs" title="{{$contact.edit_hover}}"><i class="icon-pencil"></i></a> |