move the club page edit link to the club main page

This commit is contained in:
imperosol committed 2026-10-22 10:07:26 +02:00
1 parent 87533a7327
commit 3312a6214e
3 files changed
+48 -65

No files matched your search

+9
View File
@@ -26,6 +26,15 @@
{% endblock %}
{% block content %}
{% if user.is_authenticated and user.can_edit(club) %}
<a
href="{{ url("core:page_edit", page_name=club.page.get_full_name()) }}"
class="btn btn-blue margin-bottom"
>
<i class="fa fa-pen-to-square"></i> {% trans %}Edit{% endtrans %}
</a>
{% endif %}
<h3>{{ club.name }}</h3>
<div id="club-detail" {% if links %}class="has-links"{% endif %}>
<div id="club-attributes">