mirror of
https://github.com/friendica/friendica
synced 2024-11-18 11:43:41 +00:00
add $contact.change_member to the js template. At the present time we don't make use of it, but the js smarty template should be the same as the php smarty template
This commit is contained in:
parent
46291b2e2b
commit
e7914ecc95
1 changed files with 13 additions and 0 deletions
|
@ -214,6 +214,19 @@ We use this part to filter the contacts with jquery.textcomplete *}}
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
{{* The button to add or remove contacts from a contact group - group edit page *}}
|
||||
{if $contact.change_member}
|
||||
<div class="contact-group-actions pull-right nav-pills preferences">
|
||||
<button type="button" class="contact-action-link btn-link" onclick="groupChangeMember({$contact.change_member.gid},{$contact.change_member.cid},'{$contact.change_member.sec_token}'); return true;" data-toggle="tooltip" title="{$contact.change_member.title}">
|
||||
{if $contact.label == "members"}
|
||||
<i class="fa fa-times-circle" aria-hidden="true"></i>
|
||||
{elseif $contact.label == "contacts"}
|
||||
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
||||
{/if}
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{{* The contact description (e.g. Name, Network, kind of connection and so on *}}
|
||||
<div class="contact-entry-desc">
|
||||
<div class="contact-entry-name" id="contact-entry-name-{$id}">
|
||||
|
|
Loading…
Reference in a new issue