From cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Nov 2014 16:19:24 -0800 Subject: "list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page) --- view/tpl/conv_list.tpl | 175 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100755 view/tpl/conv_list.tpl (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl new file mode 100755 index 000000000..86562e1f1 --- /dev/null +++ b/view/tpl/conv_list.tpl @@ -0,0 +1,175 @@ +{{if $item.comment_firstcollapsed}} + + +{{/if}} -- cgit v1.2.3 From acc8c692421581c2516bbe5d91d86ad2f3f12c27 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Nov 2014 19:33:58 -0800 Subject: when in list mode, make the max height half of the normal height before 'divgrow' kicks in. --- view/tpl/conv_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 86562e1f1..71554a9b3 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -32,7 +32,7 @@
-
+
{{$item.body}} {{if $item.tags}}
-- cgit v1.2.3 From c0ad4763b30238aead8f1187efd669080c52a149 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 17 Nov 2014 15:18:06 -0800 Subject: add unseen count and way to mark unseen to list mode. Also fix automatic mark of unseen so as to work with list mode. --- view/tpl/conv_list.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 71554a9b3..b9a966e93 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -164,7 +164,8 @@ {{/if}}
- +
-- cgit v1.2.3 From 11f0b45a9015a717e6e0da1bfd5a1c61381d64ed Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 18 Nov 2014 16:58:36 -0800 Subject: blog mode - turn the comment link into a button and group with the likes/dislikes --- view/tpl/conv_list.tpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index b9a966e93..444734f48 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -104,7 +104,12 @@
-
+
+ + +
{{if $item.unseen_comments}}
{{/if}} + {{if $item.like_count}}
@@ -164,8 +169,6 @@ {{/if}}
-
-- cgit v1.2.3 From 7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Nov 2014 14:41:24 -0800 Subject: couple of fixes: - significantly increase the content availability on the discover channel - fix the button group on the blog/list mode which made the border on a single comment button a bit wonky --- view/tpl/conv_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 444734f48..aec1a78ab 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -104,7 +104,7 @@
-
+
- {{if $item.verified}} {{elseif $item.forged}} {{/if}}{{if $item.location}}{{$item.location}}, {{/if}}{{$item.localtime}}{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}{{if $item.editedtime}} {{/if}} {{if $item.app}}{{$item.str_app}}{{/if}} + {{if $item.verified}} {{elseif $item.forged}} {{/if}}{{if $item.location}}{{$item.location}}, {{/if}}{{$item.localtime}}{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}{{if $item.editedtime}} {{/if}} {{if $item.app}}{{$item.str_app}}{{/if}}
-- cgit v1.2.3 From 7bee4e5997804658f508a32d07ca4143d8afe629 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 16 Dec 2014 14:12:40 -0800 Subject: build a channel based thread viewing link when in list_mode and when using the channel module, which will disable list_mode (this was checked in yesterday) for the benefit of viewing threads with the correct identities and comment permissions instead of relying on the semi-random uid chosen by mod/display when viewed by an authenticated remote_user(). --- view/tpl/conv_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 42ecc82b5..121a58514 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -107,7 +107,7 @@
-
{{if $item.unseen_comments}}
{{/if}} {{if $item.like_count}} -- cgit v1.2.3 From f113984d69ec6d5c16efcc67f43e755821a53a8e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 16 Dec 2014 23:40:52 -0800 Subject: essentials for creating a "block-style" list-mode page such as one might have for a pinterest-style layout. Just load view/theme/redbasic/css/blockmode.css after redbasic PCSS - you're done. We may need some other indicator besides the number of comments to indicate "click here to see the rest of the article", but we're a bit short on space so maybe a view icon will work. --- view/tpl/conv_list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 121a58514..59bb8f918 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -4,7 +4,7 @@