forked from Ruderverein-Donau-Linz/rowt
		
	[TASK] add schnupper to scheckbuch button
This commit is contained in:
		| @@ -151,6 +151,7 @@ | ||||
|                         </dialog> | ||||
|                         {% endif %} | ||||
|                     {% elif "Scheckbuch" in member %} | ||||
|                         {% if allowed_to_edit %} | ||||
|                         <div class="grid gap-3 pb-3"> | ||||
|                             <div class="max-h-60 overflow-y-scroll"> | ||||
|                                 {% for log in logbook %} | ||||
| @@ -158,8 +159,18 @@ | ||||
|                                 {% endfor %} | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         {% endif %} | ||||
|                     {% elif "Schnupperant" in member %} | ||||
|                         {% if allowed_to_edit %} | ||||
|                         <div class="grid pt-3"> | ||||
|                           <a href="/admin/user/{{ user.id }}/schnupperant-to-scheckbuch" class="btn btn-dark" | ||||
|                           onclick="return confirm('Willst du \'{{ user.name }}\' wirklich auf ein Scheckbuch umwandeln?');">In Scheckbuch umwandeln</a> | ||||
|                         </div> | ||||
|                         {% endif %} | ||||
|                     {% endif %} | ||||
|  | ||||
|                     {% if "Scheckbuch" in member or "Schnupperant" in member %} | ||||
|                       {% if allowed_to_edit %} | ||||
|                       <div class="grid gap-3 pb-3 mt-3"> | ||||
|                           <button type="button" | ||||
|                                   onclick="document.getElementById('call-for-action').showModal()" | ||||
| @@ -212,6 +223,7 @@ | ||||
|                                 </div> | ||||
|                             </div> | ||||
|                         </dialog> | ||||
|                         {% endif %} | ||||
|                     {% endif %} | ||||
|                  </div> | ||||
|             </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Marie Birner
					Marie Birner