tChange welcome popup title - scoreboard - Interactive scoreboard for CTF-like games
(HTM) git clone git://git.z3bra.org/scoreboard.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 0583b478d7eb27b51500a835a73d7a1e56ea8415
(DIR) parent 0503ec4c0e923db118064edb9db6648eebc33478
(HTM) Author: Willy Goiffon <contact@z3bra.org>
Date: Thu, 3 Oct 2024 13:10:46 +0200
Change welcome popup title
Diffstat:
M playerbox.go | 2 +-
M ui.go | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/playerbox.go b/playerbox.go
t@@ -92,7 +92,7 @@ func PlayerBoxName(p *Player) *tview.TextView {
}
scoreboard.HighlightBoard(p.Rank())
scoreboard.GenerateHTML()
- scoreboard.Popup("CONGRATULATIONS", fmt.Sprintf(TOKEN_WELCOME, p.name, p.token));
+ scoreboard.Popup("WELCOME", fmt.Sprintf(TOKEN_WELCOME, p.name, p.token));
} else {
scoreboard.Popup("NOPE", "Player name unavailable\nPlease pick another one")
}
(DIR) diff --git a/ui.go b/ui.go
t@@ -18,6 +18,7 @@ L Log in
↲ Show Badges
+
Log in and select your name to see your flags
`
)