liquid_feedback_frontend
diff app/main/registration_admin/verification.lua @ 1439:c4b235433733
Show requested unit, added missing space char
author | bsw |
---|---|
date | Thu Oct 18 13:02:02 2018 +0200 (2018-10-18) |
parents | 324e01ab8ecf |
children | 21477830970e |
line diff
1.1 --- a/app/main/registration_admin/verification.lua Thu Oct 18 11:19:05 2018 +0200 1.2 +++ b/app/main/registration_admin/verification.lua Thu Oct 18 13:02:02 2018 +0200 1.3 @@ -89,8 +89,11 @@ 1.4 name = field.name, 1.5 value = tonumber(data[field.name]) 1.6 } 1.7 + local requested_unit = Unit:by_id(tonumber(verification.request_data.unit)) 1.8 + ui.tag{ content = requested_unit } 1.9 elseif field.name == "sequential_number" then 1.10 ui.tag{ tag = "label", content = field.label } 1.11 + slot.put(" ") 1.12 ui.tag{ tag = "span", content = data.sequential_number or _"None yet" } 1.13 else 1.14 ui.field.text{