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:
Mikita Wiśniewski 2023-04-30 21:40:06 +07:00 committed by GitHub
parent 3fb97d5f09
commit 1b6e45f969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 39 deletions

View file

@ -22,11 +22,6 @@
{_followers}
</a>
</div>
<div class="tab">
<a href="/club{$club->getId()}/stats">
{_statistics}
</a>
</div>
</div>
<div class="container_gray">

View file

@ -24,11 +24,6 @@
{_followers}
</a>
</div>
<div class="tab">
<a href="javascript:void(0)">
{_statistics}
</a>
</div>
</div>
<div class="container_gray">

View file

@ -33,11 +33,6 @@
{_followers}
</a>
</div>
<div class="tab">
<a href="/club{$club->getId()}/stats">
{_statistics}
</a>
</div>
{/if}
{/block}

View file

@ -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>

View file

@ -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>