From 5b25db7bbfaa907e03fa3ec0b2675c17981b69b0 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 19 Mar 2017 19:41:00 +0100 Subject: show email in person view --- components/package/contents/ui/People.qml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'components') diff --git a/components/package/contents/ui/People.qml b/components/package/contents/ui/People.qml index 41529d2a..9f76aebf 100644 --- a/components/package/contents/ui/People.qml +++ b/components/package/contents/ui/People.qml @@ -295,11 +295,16 @@ Popup { width: personPageRoot.width - Kirigami.Units.largeSpacing - Row { - spacing: Kirigami.Units.smallSpacing - Text { text: "(main)"} - Text { text: "testerson@kolabnow.com"; color: Kirigami.Theme.highlightColor } - Item { width: Kirigami.Units.smallSpacing; height: 1 } + Repeater { + + model: contactController.emails + + Row { + spacing: Kirigami.Units.smallSpacing + Text { text: "(main)" } + Text { text: modelData ; color: Kirigami.Theme.highlightColor } + Item { width: Kirigami.Units.smallSpacing; height: 1 } + } } Row { -- cgit v1.2.3