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