1
0
espelhamento de https://github.com/ae-utbm/sith.git sincronizado 2026-04-15 07:48:20 +00:00

Add link to create club in rootplace

Esse commit está contido em:
2016-10-18 23:36:26 +02:00
commit 029bc7cc7c
3 arquivos alterados com 2185 adições e 1539 exclusões

Ver Arquivo

@@ -1,11 +1,19 @@
{% extends "core/base.jinja" %}
{% block title %}
{% if object %}
{% trans obj=object %}Edit {{ obj }}{% endtrans %}
{% else %}
{% trans %}Save{% endtrans %}
{% endif %}
{% endblock %}
{% block content %}
{% if object %}
<h2>{% trans obj=object %}Edit {{ obj }}{% endtrans %}</h2>
{% else %}
<h2>{% trans %}Save{% endtrans %}</h2>
{% endif %}
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p() }}

Ver Arquivo

@@ -16,6 +16,7 @@
{% endif %}
{% if user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user.is_root %}
<li><a href="{{ url('subscription:subscription') }}">{% trans %}Subscriptions{% endtrans %}</a></li>
<li><a href="{{ url('club:club_new') }}">{% trans %}New club{% endtrans %}</a></li>
{% endif %}
</ul>

Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff