liquid_feedback_frontend
diff app/main/admin/member_edit.lua @ 1458:3494edd607e7
Fixed nesting again part 2
author | bsw |
---|---|
date | Thu Oct 18 17:27:02 2018 +0200 (2018-10-18) |
parents | 77fb282db8a1 |
children | ad2297c57457 |
line diff
1.1 --- a/app/main/admin/member_edit.lua Thu Oct 18 17:25:35 2018 +0200 1.2 +++ b/app/main/admin/member_edit.lua Thu Oct 18 17:27:02 2018 +0200 1.3 @@ -42,6 +42,7 @@ 1.4 content = function() 1.5 1.6 ui.heading { level = 1, content = member and (member.name or member.id) or _"New member" } 1.7 + 1.8 if member and member.identification then 1.9 ui.heading { level = 3, content = member.identification } 1.10 end 1.11 @@ -49,6 +50,7 @@ 1.12 ui.field.text{ label = _"Identification", name = "identification" } 1.13 ui.field.text{ label = _"Notification email (confirmed)", name = "notify_email" } 1.14 ui.field.text{ label = _"Notification email (unconfirmed)", name = "notify_email_unconfirmed" } 1.15 + 1.16 if member and member.activated then 1.17 ui.field.text{ label = _"Screen name", name = "name" } 1.18 end 1.19 @@ -62,7 +64,7 @@ 1.20 name = "unit_" .. unit.id, 1.21 label = unit.name, 1.22 value = unit.voting_right 1.23 - } 1.24 + end 1.25 slot.put("<br /><br />") 1.26 1.27 if member then