Add money amount to admiral page
authorTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 12 Feb 2022 13:26:01 +0000 (08:26 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 12 Feb 2022 13:26:01 +0000 (08:26 -0500)
src/jvmMain/kotlin/starshipfights/info/views_user.kt

index 60bb6b770b708eee6a2e371a1df96ab51a53cee0..454c937f8d5304c412256073d916bdc46e436455 100644 (file)
@@ -557,6 +557,9 @@ suspend fun ApplicationCall.manageAdmiralPage(): HTML.() -> Unit {
                }
                section {
                        h2 { +"Manage Fleet" }
+                       p {
+                               +"${admiral.fullName} currently owns ${admiral.money} Electro-Ducats, and earns ${admiral.rank.dailyWage} Electro-Ducats every day."
+                       }
                        table {
                                tr {
                                        th { +"Ship Name" }