Change the name of a button (ask for token) in the update modal for A and AAAA.

This commit is contained in:
Philippe PITTOLI 2024-04-12 12:49:24 +02:00
parent 1e19f664a5
commit c4735e9efc

View File

@ -495,7 +495,7 @@ render state
]
display_domain_side = (if state._currentRR.name == (state._domain <> ".") then "" else "." <> state._domain)
newtokenbtn = Bulma.btn "🏁​ Ask for a token!" (NewToken state._currentRR.rrid)
newtokenbtn = Bulma.btn (maybe "🏁​ Ask for a token" (\_ -> "🏁​ Ask for a new token") state._currentRR.token) (NewToken state._currentRR.rrid)
foot_content x =
case state.rr_modal of
NewRRModal _ -> [Bulma.btn_add (ValidateRR x)]