From 6464099364f3d4e800137a57d3b9ff9e8f7601e4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 12 Dec 2018 19:11:30 -0800 Subject: regression: the ability to order apps messed up since adding pinned apps to the ordering --- view/tpl/app.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index 6013f9548..cacbf7e64 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -31,8 +31,8 @@ {{if $icon}}{{else}}{{/if}}{{$app.name}} {{/if}} {{if $order}} - - + + {{if $icon}}{{else}}{{/if}}{{$app.name}}
{{/if}} -- cgit v1.2.3 From f81a3ba45d50c0a0e4da68c17aba73425058e23d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 14 Dec 2018 11:23:08 +0100 Subject: fix issue with linkdropper --- view/tpl/jot-header.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 2670ba9e7..b286b6071 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -219,7 +219,7 @@ var activeCommentText = ''; } function linkdropper(event) { - var linkFound = event.dataTransfer.types.contains("text/uri-list"); + var linkFound = ((event.dataTransfer.types.indexOf("text/uri-list") > -1) ? true : false); if(linkFound) { event.preventDefault(); var editwin = '#' + event.target.id; @@ -256,7 +256,7 @@ var activeCommentText = ''; commentwin = ((editwin.indexOf('comment') >= 0) ? true : false); if(commentwin) { var commentid = editwin.substring(editwin.lastIndexOf('-') + 1); - commentOpen(document.getElementById(event.target.id),commentid); + $("#comment-edit-text-" + commentid).addClass("expanded"); } } -- cgit v1.2.3 From 06beb596283ee999e6b95b4a5eec9a6f948af962 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 8 Jan 2019 15:23:08 +0100 Subject: slightly improve item.is_new rendering --- view/tpl/conv_item.tpl | 6 +++--- view/tpl/conv_list.tpl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 7dddf9c01..69e09b272 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -9,12 +9,12 @@
{{if $item.photo}} -
+
{{$item.photo}}
{{/if}} {{if $item.event}} -
+
{{$item.event}}
{{/if}} @@ -26,7 +26,7 @@
{{/if}} {{/if}} -
+
{{$item.name}} diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index c6da3d8a4..28e120d17 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -9,12 +9,12 @@
{{if $item.photo}} -
+
{{$item.photo}}
{{/if}} {{if $item.event}} -
+
{{$item.event}}
{{/if}} @@ -26,7 +26,7 @@
{{/if}} {{/if}} -
+
{{$item.name}} -- cgit v1.2.3 From dba9c2fbb01c3d9de1d25aeb7c86a9be0e5031cf Mon Sep 17 00:00:00 2001 From: "DM42.Net (Matt Dent)" Date: Sun, 13 Jan 2019 14:34:04 -0500 Subject: Add pgrp_extras hook & display --- view/tpl/privacy_groups.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/tpl') diff --git a/view/tpl/privacy_groups.tpl b/view/tpl/privacy_groups.tpl index b4e27ef2c..327a15aee 100644 --- a/view/tpl/privacy_groups.tpl +++ b/view/tpl/privacy_groups.tpl @@ -8,6 +8,7 @@ {{include file="field_input.tpl" field=$gname}} {{include file="field_checkbox.tpl" field=$public}} + {{$pgrp_extras}}
-- cgit v1.2.3 From f3554804bfe5bf88984bce925470934429567516 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 14 Jan 2019 10:14:37 +0100 Subject: only load new content onpopstate if the mid has actually changed --- view/tpl/notifications_widget.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 98047f1d9..bc7f80906 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -24,7 +24,7 @@ }); window.onpopstate = function(e) { - if(e.state !== null) + if(e.state !== null && e.state.b64mid !== bParam_mid) getData(e.state.b64mid, ''); }; }); -- cgit v1.2.3