mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Groups: Add a button to manage a group from the admin panel to the group page
This commit is contained in:
parent
9d89a67a91
commit
83aec24393
3 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,9 @@
|
|||
{if $club->canBeModifiedBy($thisUser)}
|
||||
<a href="/club{$club->getId()}/edit" id="profile_link">{_"edit_group"}</a>
|
||||
{/if}
|
||||
{if $thisUser->getChandlerUser()->can("access")->model("admin")->whichBelongsTo(NULL)}
|
||||
<a href="/admin/clubs/id{$club->getId()}" id="profile_link">{_"manage_group_action"}</a>
|
||||
{/if}
|
||||
{if $club->getSubscriptionStatus($thisUser) == false}
|
||||
<form action="/setSub/club" method="post">
|
||||
<input type="hidden" name="act" value="add" />
|
||||
|
|
|
@ -745,6 +745,7 @@
|
|||
|
||||
"login_as" = "Login as $1";
|
||||
"manage_user_action" = "Manage user";
|
||||
"manage_group_action" = "Manage group";
|
||||
"ban_user_action" = "Ban user";
|
||||
"warn_user_action" = "Warn user";
|
||||
|
||||
|
|
|
@ -780,6 +780,7 @@
|
|||
|
||||
"login_as" = "Войти как $1";
|
||||
"manage_user_action" = "Управление пользователем";
|
||||
"manage_group_action" = "Управление группой";
|
||||
"ban_user_action" = "Заблокировать пользователя";
|
||||
"warn_user_action" = "Предупредить пользователя";
|
||||
|
||||
|
|
Loading…
Reference in a new issue