add "Show Forum" Button to Profile
This commit is contained in:
parent
ad414f33c9
commit
e6a4467557
2 changed files with 24 additions and 0 deletions
|
|
@ -56,6 +56,22 @@
|
|||
</button>
|
||||
</div>
|
||||
{{/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}}')">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{$mentioning}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $contact.forum==1 || $contact.prv==1}}
|
||||
<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="window.location.href='{{$showforum_link}}'">
|
||||
<span class=""><i class="fa fa-group"></i></span>
|
||||
<span class="">{{$showforum}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue