mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-19 00:48:59 +00:00
move the club page edit link to the club main page
This commit is contained in:
1 parent
2d492e0157
commit
c07f25a2df
3 files changed
+49
-66
No files matched your search
@@ -26,6 +26,15 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if 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