put group-logic for "widget" to php-file
This commit is contained in:
parent
7e0923d53f
commit
02b26f5969
2 changed files with 14 additions and 9 deletions
|
|
@ -58,17 +58,17 @@
|
|||
{{/if}}
|
||||
{{if $contact.addr}}
|
||||
<div id="mention-link-button">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="openWallMessage('compose/0?body={{if $contact.forum==1}}!{{else}}@{{/if}}{{$contact.addr}}')">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="openWallMessage('{{$mention.1}}')" titel="{{$mention.0}}" aria-label="{{$mention.0}}">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{if $contact.forum==1}}{{$posttogroup}}{{else}}{{$mention}}{{/if}}</span>
|
||||
<span class="">{{$mention.0}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $contact.forum==1 || $contact.prv==1}}
|
||||
<div id="show-group-button">
|
||||
<button type="button" id="show-group" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="window.location.href='{{$showgroup_link}}'">
|
||||
<button type="button" id="show-group" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="window.location.href='{{$showgroup.1}}'">
|
||||
<span class=""><i class="fa fa-group"></i></span>
|
||||
<span class="">{{$showgroup}}</span>
|
||||
<span class="">{{$showgroup.0}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue