mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-10-31 00:53:08 +00:00 
			
		
		
		
	Add link to create club in rootplace
This commit is contained in:
		| @@ -1,11 +1,19 @@ | |||||||
| {% extends "core/base.jinja" %} | {% extends "core/base.jinja" %} | ||||||
|  |  | ||||||
| {% block title %} | {% block title %} | ||||||
|  | {% if object %} | ||||||
| {% trans obj=object %}Edit {{ obj }}{% endtrans %} | {% trans obj=object %}Edit {{ obj }}{% endtrans %} | ||||||
|  | {% else %} | ||||||
|  | {% trans %}Save{% endtrans %} | ||||||
|  | {% endif %} | ||||||
| {% endblock %} | {% endblock %} | ||||||
|  |  | ||||||
| {% block content %} | {% block content %} | ||||||
|  | {% if object %} | ||||||
| <h2>{% trans obj=object %}Edit {{ obj }}{% endtrans %}</h2> | <h2>{% trans obj=object %}Edit {{ obj }}{% endtrans %}</h2> | ||||||
|  | {% else %} | ||||||
|  | <h2>{% trans %}Save{% endtrans %}</h2> | ||||||
|  | {% endif %} | ||||||
| <form action="" method="post" enctype="multipart/form-data"> | <form action="" method="post" enctype="multipart/form-data"> | ||||||
|     {% csrf_token %} |     {% csrf_token %} | ||||||
|     {{ form.as_p() }} |     {{ form.as_p() }} | ||||||
|   | |||||||
| @@ -16,6 +16,7 @@ | |||||||
|     {% endif %} |     {% endif %} | ||||||
|     {% if user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user.is_root %} |     {% 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('subscription:subscription') }}">{% trans %}Subscriptions{% endtrans %}</a></li> | ||||||
|  |     <li><a href="{{ url('club:club_new') }}">{% trans %}New club{% endtrans %}</a></li> | ||||||
|     {% endif %} |     {% endif %} | ||||||
| </ul> | </ul> | ||||||
|  |  | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user