Improve ship buy list
authorTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 12 Feb 2022 17:06:20 +0000 (12:06 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 12 Feb 2022 17:06:20 +0000 (12:06 -0500)
src/jvmMain/kotlin/starshipfights/info/views_user.kt

index 46b6d8fc998d2e89d9eca16024bf778e6d6c38d9..05f55093a5f1fe0062198be13209aab11f75d837 100644 (file)
@@ -623,7 +623,6 @@ suspend fun ApplicationCall.manageAdmiralPage(): HTML.() -> Unit {
                                tr {
                                        th { +"Ship Class" }
                                        th { +"Ship Cost" }
-                                       th { +Entities.nbsp }
                                }
                                buyableShips.forEach { st ->
                                        tr {
@@ -633,8 +632,7 @@ suspend fun ApplicationCall.manageAdmiralPage(): HTML.() -> Unit {
                                                td {
                                                        +st.weightClass.buyPrice.toString()
                                                        +" Electro-Ducats"
-                                               }
-                                               td {
+                                                       br
                                                        a(href = "/admiral/${admiralId}/buy/${st.toUrlSlug()}") {
                                                                +"Buy"
                                                        }