From abe3039926dd388108e620148868880cb1da3fa3 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 12 Jan 2022 21:08:29 +0000 Subject: ux improvements --- view/tpl/connection_template.tpl | 9 +++++++-- view/tpl/profile_edit.tpl | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 5c1542111..090899cd6 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -1,6 +1,11 @@
+ {{if $contact.status}} + {{foreach $contact.states as $state}} + {{$state}} + {{/foreach}} + {{/if}} {{$contact.role}}
- {{if $contact.status}} + {{** if $contact.status}}
{{$contact.status_label}}: {{$contact.status}}
- {{/if}} + {{/if **}} {{if $contact.connected}}
{{$contact.connected_label}}: diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index 7361411b9..c55ce0183 100644 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -30,7 +30,7 @@ {{/if}}
-

{{$banner}}

+

{{$banner}}{{if $multi_profiles}}: {{$profile_name.2}}{{/if}}

-- cgit v1.2.3