You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.3 KiB
Smarty

<div class="btn-group account-fab bottom-sheet">
<button type="button" class="fab dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-v"></i>
</button>
<ul class="dropdown-menu dropdown-menu-right">
<!-- IF !isSelf -->
<!-- IF !config.disableChat -->
<!-- IF !banned -->
<!-- IF hasPrivateChat -->
<li>
<a component="account/chat" href="#">[[user:chat_with, {username}]]</a>
</li>
<!-- ENDIF hasPrivateChat -->
<li>
<a component="account/new-chat" href="#">[[user:new_chat_with, {username}]]</a>
</li>
<li class="divider"></li>
<!-- ENDIF !banned -->
<!-- ENDIF !config.disableChat -->
<!-- ENDIF !isSelf -->
<li>
<a href="{config.relative_path}/user/{userslug}" class="inline-block" id="profile">[[user:profile]]</a>
</li>
<!-- IF showHidden -->
<li><a href="{config.relative_path}/user/{userslug}/settings">[[user:settings]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/edit">[[user:edit]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/info">[[user:account_info]] <i class="fa fa-lock"></i></a></li>
<!-- ENDIF showHidden -->
<!-- IF !isSelf -->
<!-- IF canBan -->
<li class="<!-- IF banned -->hide<!-- ENDIF banned -->">
<a component="account/ban" href="#">[[user:ban_account]]</a>
</li>
<li class="<!-- IF !banned -->hide<!-- ENDIF !banned -->">
<a component="account/unban" href="#">[[user:unban_account]]</a>
</li>
<!-- ENDIF canBan -->
<!-- IF isAdmin -->
<li>
<a component="account/delete" href="#" class="">[[user:delete_account]]</a>
</li>
<!-- ENDIF isAdmin -->
<!-- ENDIF !isSelf -->
<li class="divider"></li>
<li><a href="{config.relative_path}/user/{userslug}/following">[[user:following]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/followers">[[user:followers]]</a></li>
<li class="divider"></li>
<li><a href="{config.relative_path}/user/{userslug}/topics">[[global:topics]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/posts">[[global:posts]]</a></li>
<!-- IF !reputation:disabled -->
<li><a href="{config.relative_path}/user/{userslug}/best">[[global:best]]</a></li>
<!-- ENDIF !reputation:disabled -->
<li><a href="{config.relative_path}/user/{userslug}/groups">[[global:header.groups]]</a></li>
<!-- IF showHidden -->
<li><a href="{config.relative_path}/user/{userslug}/bookmarks">[[user:bookmarks]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/watched">[[user:watched]]</a></li>
<!-- IF !reputation:disabled -->
<li><a href="{config.relative_path}/user/{userslug}/upvoted">[[global:upvoted]]</a></li>
<!-- IF !downvote:disabled -->
<li><a href="{config.relative_path}/user/{userslug}/downvoted">[[global:downvoted]]</a></li>
<!-- ENDIF !downvote:disabled -->
<!-- ENDIF !reputation:disabled -->
<!-- ENDIF showHidden -->
<!-- BEGIN profile_links -->
<!-- IF @first -->
<li class="divider"></li>
<!-- ENDIF @first -->
<li id="{profile_links.id}" class="plugin-link <!-- IF profile_links.public -->public<!-- ELSE -->private<!-- ENDIF profile_links.public -->"><a href="{config.relative_path}/user/{userslug}/{profile_links.route}"><i class="fa fa-fw {profile_links.icon}"></i> {profile_links.name}</a></li>
<!-- END profile_links -->
</ul>
</div>