Fix nicht existierende Abteilungen
All checks were successful
release-tag / release-image (push) Successful in 2m41s

This commit is contained in:
2025-07-22 21:21:45 +02:00
parent 2e511e3fca
commit 1fa18beb70

16
main.go
View File

@@ -227,10 +227,10 @@ func main() {
{Name: "Mining", Anteil: 3},
{Name: "Salvaging", Anteil: 3},
{Name: "Trading", Anteil: 3},
{Name: "Basebuilding", Anteil: 10},
{Name: "Crafting", Anteil: 8},
{Name: "Forschung", Anteil: 5},
{Name: "Events", Anteil: 15},
{Name: "Basebuilding (+10)", Anteil: 0},
{Name: "Crafting (+8)", Anteil: 0},
{Name: "Forschung (+5)", Anteil: 0},
{Name: "Events (-23)", Anteil: 38},
{Name: "Roleplay", Anteil: 3},
{Name: "Kunstflug", Anteil: 3},
}
@@ -329,7 +329,7 @@ const htmlTemplate = `
<a href="/login" class="btn btn-sm btn-outline-primary">Login</a>
{{end}}
</div>
<h1 class="mb-4">Beitrag zur Community von der Trading-Staffel ({{.Member}})</h1>
<h1 class="mb-4">Beitrag zur Community vom Mitglied der Trading-Staffel ({{.Member}})</h1>
{{if .LoggedIn}}
<form method="POST" class="card p-4 mb-4 shadow-sm">
<div class="row mb-3">
@@ -403,12 +403,12 @@ const htmlTemplate = `
</tbody>
</table>
<div class="alert alert-warning">
<strong>Offen zur Abgabe:</strong> {{formatNumber .OffeneSumme}} UEC
<div class="alert alert-light">
<strong>Folgender Wert wurde erwirtschaftet und wird bald zur Verfügung gestellt:</strong> {{formatNumber .OffeneSumme}} UEC
</div>
<div class="alert alert-success">
<strong>Summe aller Abgaben an die Knebel-Community:</strong> {{formatNumber .Summe}} UEC
<strong>Summe aller getätigten Abgaben an die Community:</strong> {{formatNumber .Summe}} UEC
</div>
<hr />