mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-24 19:29:32 +00:00
move the club page edit link to the club main page
This commit is contained in:
1 parent
87533a7327
commit
3312a6214e
3 files changed
+48
-65
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user