diff options
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r-- | framework/qml/People.qml | 50 |
1 files changed, 15 insertions, 35 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index e60763d9..aa23a78d 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -272,11 +272,12 @@ Item { | |||
272 | leftMargin: Kube.Units.largeSpacing | 272 | leftMargin: Kube.Units.largeSpacing |
273 | } | 273 | } |
274 | 274 | ||
275 | text: "CIO" | 275 | text: contactController.jobTitle |
276 | } | 276 | } |
277 | 277 | ||
278 | Rectangle { | 278 | Rectangle { |
279 | id: company | 279 | id: company |
280 | visible: contactController.company != "" | ||
280 | 281 | ||
281 | anchors { | 282 | anchors { |
282 | bottom: avatar.bottom | 283 | bottom: avatar.bottom |
@@ -306,7 +307,7 @@ Item { | |||
306 | leftMargin: Kube.Units.smallSpacing | 307 | leftMargin: Kube.Units.smallSpacing |
307 | } | 308 | } |
308 | 309 | ||
309 | text: "Sauerkraut AG" | 310 | text: contactController.company |
310 | } | 311 | } |
311 | } | 312 | } |
312 | } | 313 | } |
@@ -328,19 +329,6 @@ Item { | |||
328 | } | 329 | } |
329 | } | 330 | } |
330 | 331 | ||
331 | Row { | ||
332 | spacing: Kube.Units.smallSpacing | ||
333 | Kube.Label { text: "(alias)"} | ||
334 | Kube.Label { text: "test.testerson@gmail.com"; color: Kube.Colors.highlightColor } | ||
335 | Item { width: Kube.Units.smallSpacing; height: 1 } | ||
336 | } | ||
337 | |||
338 | Row { | ||
339 | spacing: Kube.Units.smallSpacing | ||
340 | Kube.Label { text: "(private)"} | ||
341 | Kube.Label { text: "test@gmail.com"; color: Kube.Colors.highlightColor } | ||
342 | Item { width: Kube.Units.smallSpacing; height: 1 } | ||
343 | } | ||
344 | } | 332 | } |
345 | 333 | ||
346 | Flow { | 334 | Flow { |
@@ -349,23 +337,15 @@ Item { | |||
349 | width: personPageRoot.width - Kube.Units.largeSpacing | 337 | width: personPageRoot.width - Kube.Units.largeSpacing |
350 | spacing: Kube.Units.smallSpacing | 338 | spacing: Kube.Units.smallSpacing |
351 | 339 | ||
352 | Row { | 340 | Repeater { |
353 | spacing: Kube.Units.smallSpacing | 341 | model: contactController.phoneNumbers |
354 | Kube.Label { text: "(inhouse)"} | 342 | |
355 | Kube.Label { text: "+49812324932"; opacity: 0.6 } | 343 | Row { |
356 | Item { width: Kube.Units.smallSpacing; height: 1 } | 344 | spacing: Kube.Units.smallSpacing |
357 | } | 345 | Kube.Label { text: "(main)" } |
358 | Row { | 346 | Kube.Label { text: modelData ; opacity: 0.6 } |
359 | spacing: Kube.Units.smallSpacing | 347 | Item { width: Kube.Units.smallSpacing; height: 1 } |
360 | Kube.Label { text: "(mobile)"} | 348 | } |
361 | Kube.Label { text: "+49812324932"; opacity: 0.6 } | ||
362 | Item { width: Kube.Units.smallSpacing; height: 1 } | ||
363 | } | ||
364 | Row { | ||
365 | spacing: Kube.Units.smallSpacing | ||
366 | Kube.Label { text: "(private)"} | ||
367 | Kube.Label { text: "+49812324932"; opacity: 0.6 } | ||
368 | Item { width: Kube.Units.smallSpacing; height: 1 } | ||
369 | } | 349 | } |
370 | } | 350 | } |
371 | 351 | ||
@@ -374,9 +354,9 @@ Item { | |||
374 | 354 | ||
375 | width: personPageRoot.width - Kube.Units.largeSpacing | 355 | width: personPageRoot.width - Kube.Units.largeSpacing |
376 | 356 | ||
377 | Kube.Label { text: "Albertstrasse 35a"} | 357 | Kube.Label { text: contactController.street } |
378 | Kube.Label { text: "81767 Teststadt"} | 358 | Kube.Label { text: contactController.city } |
379 | Kube.Label { text: "GERMANY" } | 359 | Kube.Label { text: contactController.country } |
380 | } | 360 | } |
381 | 361 | ||
382 | // Column { | 362 | // Column { |