only one place to 'calculate' the name
This commit is contained in:
10
src/game.rs
10
src/game.rs
@@ -45,13 +45,13 @@ async fn index(State(backend): State<Arc<Backend>>, cookies: CookieJar) -> Respo
|
||||
span.font-headline.rank.text-muted {
|
||||
(rank.rank)"."
|
||||
}
|
||||
@if rank.uuid == client.uuid { (PreEscaped("<mark>")) }
|
||||
(rank.name)
|
||||
@if rank.uuid == client.uuid { (PreEscaped("</mark>")) }
|
||||
@if rank.client == client { (PreEscaped("<mark>")) }
|
||||
(rank.client.get_display_name())
|
||||
@if rank.client == client{ (PreEscaped("</mark>")) }
|
||||
}
|
||||
span.font-headline.cam {
|
||||
(rank.amount)(PreEscaped(" "))"📸"
|
||||
}
|
||||
(rank.amount)(PreEscaped(" "))"📸"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user