mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Groups: move Statistics from Edit tab to its' own profile link (#844)
* Groups: move Statistics from Edit tab to its' own profile link after all, it doesn't have anything to do with changing the groups' admins, removing followers and changing name/description * Update EditBackdrop.xml oops
This commit is contained in:
parent
3fb97d5f09
commit
1b6e45f969
5 changed files with 2 additions and 39 deletions
|
@ -22,11 +22,6 @@
|
|||
{_followers}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab">
|
||||
<a href="/club{$club->getId()}/stats">
|
||||
{_statistics}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container_gray">
|
||||
|
|
|
@ -24,11 +24,6 @@
|
|||
{_followers}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab">
|
||||
<a href="javascript:void(0)">
|
||||
{_statistics}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container_gray">
|
||||
|
|
|
@ -33,11 +33,6 @@
|
|||
{_followers}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab">
|
||||
<a href="/club{$club->getId()}/stats">
|
||||
{_statistics}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
|
|
@ -6,30 +6,7 @@
|
|||
{/block}
|
||||
|
||||
{block content}
|
||||
<div class="tabs">
|
||||
<div class="tab">
|
||||
<a href="/club{$club->getId()}/edit">
|
||||
{_main}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab">
|
||||
<a href="/club{$club->getId()}/backdrop">
|
||||
{_backdrop_short}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab">
|
||||
<a href="/club{$club->getId()}/followers">
|
||||
{_followers}
|
||||
</a>
|
||||
</div>
|
||||
<div id="activetabs" class="tab">
|
||||
<a id="act_tab_a" href="javascript:void(0)">
|
||||
{_statistics}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container_gray">
|
||||
<div>
|
||||
<h4>Охват</h4>
|
||||
<p>Этот график отображает охват за последние 7 дней.</p>
|
||||
<div id="reachChart" style="width: 100%; height: 280px;"></div>
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
<div n:ifset="$thisUser" id="profile_links">
|
||||
{if $club->canBeModifiedBy($thisUser)}
|
||||
<a href="/club{$club->getId()}/edit" id="profile_link">{_edit_group}</a>
|
||||
<a href="/club{$club->getId()}/stats" id="profile_link">{_statistics}</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>
|
||||
|
|
Loading…
Reference in a new issue