forked from Ruderverein-Donau-Linz/rowt
		
	[TASK] change schnupper ui and hopefully improve it
This commit is contained in:
		@@ -8,17 +8,20 @@
 | 
			
		||||
                 role="alert">
 | 
			
		||||
                <h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2>
 | 
			
		||||
                <div class="text-sm p-3">
 | 
			
		||||
                    <ol class="ms-2" style="list-style: number;">
 | 
			
		||||
                    <ol class="list-decimal">
 | 
			
		||||
                        {% for user in schnupperanten %}
 | 
			
		||||
                            <li class="py-1"
 | 
			
		||||
                                {% if "paid" in user.roles %}style="background-color: green;"{% endif %}>
 | 
			
		||||
                                {{ user.name }} ({{ user.mail }}
 | 
			
		||||
                                {%- if user.notes %} | {{ user.notes }}
 | 
			
		||||
                                {% endif -%}
 | 
			
		||||
                                )
 | 
			
		||||
                                <a class="btn btn-primary"
 | 
			
		||||
                                   href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
 | 
			
		||||
                                   onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
 | 
			
		||||
                            <li class="py-1 ml-4">
 | 
			
		||||
                                <span class="flex items-center justify-between">
 | 
			
		||||
                                    <span>
 | 
			
		||||
                                      <span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span> {{ user.name }} ({{ user.mail }}
 | 
			
		||||
                                      {%- if user.notes %} | {{ user.notes }}
 | 
			
		||||
                                      {% endif -%}
 | 
			
		||||
                                      )
 | 
			
		||||
                                    </span>
 | 
			
		||||
                                    <a class="btn btn-primary"
 | 
			
		||||
                                      href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
 | 
			
		||||
                                      onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
 | 
			
		||||
                                </span>
 | 
			
		||||
                            </li>
 | 
			
		||||
                        {% endfor %}
 | 
			
		||||
                    </ol>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user