Groups: Delete the leftover lable Actions

This commit is contained in:
veselcraft 2021-12-22 16:29:04 +03:00
parent 0d255ec746
commit 753a282b88
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -49,23 +49,10 @@
{block description}
{$x->getDescription()}
{if $x->canBeModifiedBy($thisUser ?? NULL)}
<table n:if="$clubPinned || $thisUser->getPinnedClubCount() <= 10">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_actions}: </span></td>
<td>
</td>
</tr>
</tbody>
</table>
{/if}
{/block}
{var clubPinned = $thisUser->isClubPinned($x)}
{if $clubPinned || $thisUser->getPinnedClubCount() <= 10}
{if $clubPinned || $thisUser->getPinnedClubCount() <= 10 || $x->canBeModifiedBy($thisUser ?? NULL)}
{block actions}
<a class="profile_link" href="/groups_pin?club={$x->getId()}&hash={rawurlencode($csrfToken)}" id="_pinGroup" data-group-name="{$x->getName()}" data-group-url="{$x->getUrl()}">
{if $clubPinned}