# HG changeset patch
# User bsw
# Date 1539876422 -7200
# Node ID 3494edd607e733f0e08eacc7ca85be4a16347349
# Parent 77fb282db8a1b52f79d804296b5c0dbf26aa6dc0
Fixed nesting again part 2
diff -r 77fb282db8a1 -r 3494edd607e7 app/main/admin/member_edit.lua
--- a/app/main/admin/member_edit.lua Thu Oct 18 17:25:35 2018 +0200
+++ b/app/main/admin/member_edit.lua Thu Oct 18 17:27:02 2018 +0200
@@ -42,6 +42,7 @@
content = function()
ui.heading { level = 1, content = member and (member.name or member.id) or _"New member" }
+
if member and member.identification then
ui.heading { level = 3, content = member.identification }
end
@@ -49,6 +50,7 @@
ui.field.text{ label = _"Identification", name = "identification" }
ui.field.text{ label = _"Notification email (confirmed)", name = "notify_email" }
ui.field.text{ label = _"Notification email (unconfirmed)", name = "notify_email_unconfirmed" }
+
if member and member.activated then
ui.field.text{ label = _"Screen name", name = "name" }
end
@@ -62,7 +64,7 @@
name = "unit_" .. unit.id,
label = unit.name,
value = unit.voting_right
- }
+ end
slot.put("
")
if member then