Fix refactor issues.

This commit is contained in:
MaxJa4
2024-01-21 18:59:11 +01:00
parent a912c68450
commit f8a472f10c
6 changed files with 24 additions and 14 deletions

View File

@@ -31,21 +31,16 @@
{{ template "bottom_controls" . }}
</div>
<!-- Delete Clan Modal -->
{{ template "delete_clan" . }}
<!-- Add Clan Modal -->
{{ template "add_clan" . }}
<!-- Edit Clan Modal -->
{{ template "edit_clan" . }}
{{ if not (eq .UserRole "READER")}}
{{ template "delete_clan" . }}
{{ template "add_clan" . }}
{{ template "edit_clan" . }}
<!-- Add Player Modal -->
{{ template "add_player" . }}
<!-- Delete Player Modal -->
{{ template "delete_player" . }}
<!-- Edit Player Modal -->
{{ template "edit_player" . }}
{{ template "add_player" . }}
{{ template "delete_player" . }}
{{ template "edit_player" . }}
{{ end}}
<!-- Settings Modal -->
{{ template "settings" . }}
<script lang="javascript">