From f3b4308cb59bf4b21ff186f8479c82239446d139 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 7 Jun 2021 12:56:27 +0200 Subject: upgrade to bootstrap 5.0.1 and first batch of fixes --- view/tpl/connection_template.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/connection_template.tpl') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 86a230c7f..e7ab559cb 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -1,6 +1,6 @@
-
+
{{if $contact.approve && $contact.ignore}}
-- cgit v1.2.3 From 2968bf8241d2969c4d51f1651fc3f8c7688b2fca Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Dec 2021 12:17:19 +0000 Subject: merge branch perms_ng into dev --- view/tpl/connection_template.tpl | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'view/tpl/connection_template.tpl') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index e7ab559cb..5c1542111 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -1,23 +1,12 @@
- {{if $contact.approve && $contact.ignore}} - - - - {{$contact.ignore}} - - {{/if}} - {{if $contact.connect}} - {{$contact.connect}} - {{/if}} - {{$contact.delete}} - {{$contact.edit}} - {{if $contact.approve}} - - {{/if}} + {{$contact.role}} +
-

{{if $contact.public_forum}} {{/if}}{{$contact.name}}{{if $contact.phone}} {{/if}}

+

{{if $contact.public_forum}} {{/if}}{{$contact.name}}{{if $contact.phone}} {{/if}}

-- cgit v1.2.3 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 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'view/tpl/connection_template.tpl') 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}}: -- cgit v1.2.3 From f4bc6ee61556a1693b2863829ec9a01c42f13f67 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 13 Jan 2022 13:07:59 +0000 Subject: ux improvements --- view/tpl/connection_template.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'view/tpl/connection_template.tpl') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 090899cd6..a7f0f8759 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,8 +8,11 @@ {{/if}} {{$contact.role}} +

{{if $contact.public_forum}} {{/if}}{{$contact.name}}{{if $contact.phone}} {{/if}}

@@ -41,6 +44,9 @@ {{$contact.network_label}}: {{$contact.network}} - {{$contact.recent_label}}
{{/if}} + {{if $contact.connect}} + {{$contact.connect}} + {{/if}}
-- cgit v1.2.3 From d98d56c3b5481e12dc53136c06b6c9c069d40d98 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 19 Jan 2022 11:24:42 +0000 Subject: provide a spinner for edit connection action in threads --- view/tpl/connection_template.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl/connection_template.tpl') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index a7f0f8759..1c8b4be11 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,8 +8,8 @@ {{/if}} {{$contact.role}} -- cgit v1.2.3 From c742f25801b726a0d2e32460d2d87d0ad9c05caf Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 19 Jan 2022 13:18:47 +0000 Subject: prevent duplicate ids and adjust spinner color --- view/tpl/connection_template.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl/connection_template.tpl') diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index 1c8b4be11..ffd02f352 100644 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,8 +8,8 @@ {{/if}} {{$contact.role}} -- cgit v1.2.3