mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:02:11 +01:00 
			
		
		
		
	Fix profile list
This commit is contained in:
		@@ -1,10 +1,10 @@
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% load django_tables2 %}
 | 
			
		||||
{% load django_tables2 i18n %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
    {% render_table table %}
 | 
			
		||||
    {% if user.admin %}
 | 
			
		||||
    {% if type == "organizers" and user.admin %}
 | 
			
		||||
        <hr>
 | 
			
		||||
        <a class="btn btn-block btn-secondary" href="{% url "tournament:add_organizer" %}"><i class="fas fa-user-plus"></i> {% trans "Add an organizer" %}</a>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
        </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% render_table table %}
 | 
			
		||||
    {% if type == "organizers" and user.is_authenticated and user.admin %}
 | 
			
		||||
    {% if user.is_authenticated and user.admin %}
 | 
			
		||||
        <hr>
 | 
			
		||||
        <a class="btn btn-block btn-secondary" href="{% url "tournament:add" %}"><i class="fas fa-calendar-plus"></i> {% trans "Add a tournament" %}</a>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user