add mention-buttons
This commit is contained in:
parent
ad414f33c9
commit
9f2d2d4ac1
|
@ -24,6 +24,7 @@
|
|||
{{if $profile.actions.pm}}<a class="btn btn-labeled btn-primary btn-sm add-to-modal" href="{{$profile.actions.pm.1}}" aria-label="{{$profile.actions.pm.0}}"><i class="fa fa-envelope" aria-hidden="true" title="{{$profile.actions.pm.0}}"></i><span class="sr-only">{{$profile.actions.pm.0}}</span></a>{{/if}}
|
||||
</div>
|
||||
<div class="hover-card-actions-connection">
|
||||
{{if $profile.addr}}<a class="btn btn-labeled btn-primary btn-sm{{if !$always_open_compose}} modal-open{{/if}}" href="compose/0?body=@{{$profile.addr}}" aria-label="{{$mentioning}}" title="{{$mentioning}}"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>{{/if}}
|
||||
{{if $profile.actions.network}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.network.1}}" aria-label="{{$profile.actions.network.0}}" title="{{$profile.actions.network.0}}"><i class="fa fa-cloud" aria-hidden="true"></i></a>{{/if}}
|
||||
{{if $profile.actions.edit}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.edit.1}}" aria-label="{{$profile.actions.edit.0}}" title="{{$profile.actions.edit.0}}"><i class="fa fa-user" aria-hidden="true"></i></a>{{/if}}
|
||||
{{if $profile.actions.follow}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.follow.1}}" aria-label="{{$profile.actions.follow.0}}" title="{{$profile.actions.follow.0}}"><i class="fa fa-user-plus" aria-hidden="true"></i></a>{{/if}}
|
||||
|
|
|
@ -70,6 +70,13 @@
|
|||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $profile.addr}}
|
||||
<div id="mention-link-button">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('compose/0?body={{if $profile.forum==1}}!{{else}}@{{/if}}{{$profile.addr}}')">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{$mentioning}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -56,6 +56,14 @@
|
|||
</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}}
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user