{{/*### Handler=/beatmaps/rank_request TitleBar=Request beatmap ranking KyutGrill=request_beatmap_ranking.jpg MinPrivileges=2 */}} {{ define "tpl" }} {{ $ := . }}
{{ $f := ieForm .Gin }}

{{ .T "Want to play an unranked beatmap? You can submit beatmaps rank requests here!" }}

{{ with .Get "beatmaps/rank_requests/status" }}

{{ $.T "Queue status" }}

{{ .submitted }}/{{ .queue_size }} ({{ .submitted_by_user }}/{{ .max_per_user }} {{ $.T "by you" }})


{{ $.T "Requests submitted" }}


{{ $.T "In the past 24 hours" }}


{{ $perc := perc .submitted .queue_size }}
{{ $perc }}%

{{ $.T "Request a beatmap" }}

{{ if .can_submit }}
{{ $f }}
{{ else }}

{{ $.T "You cannot currently request beatmaps!" }}

{{ with .next_expiration }}

{{ $.T "Please try again " }}{{ timeAddDay . }}

{{ end }} {{ end }} {{ end }}
{{ end }}