From f84ba95e870ce5b63e5af4cc7be43b516d4c163d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 Jan 2014 01:53:15 -0800 Subject: add template for chatroomlist widget --- view/tpl/chatroomlist.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 view/tpl/chatroomlist.tpl (limited to 'view/tpl/chatroomlist.tpl') diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl new file mode 100644 index 000000000..34050eef3 --- /dev/null +++ b/view/tpl/chatroomlist.tpl @@ -0,0 +1,11 @@ +
+

{{$header}}

+{{$if $items}} + +{{for $items as $item}} + +{{/for}} +
{{$item.cr_name}}{{$item.cr_inroom}}
+{{/if}} +
+ -- cgit v1.2.3 From 6a9d43bcbe167ff3a8f9bd8a2ce93d9fc298fcdf Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 Jan 2014 03:16:07 -0800 Subject: debug chatroom_list widget --- view/tpl/chatroomlist.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/tpl/chatroomlist.tpl') diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl index 34050eef3..d2cf4d7b0 100644 --- a/view/tpl/chatroomlist.tpl +++ b/view/tpl/chatroomlist.tpl @@ -1,10 +1,10 @@

{{$header}}

-{{$if $items}} +{{if $items}} -{{for $items as $item}} +{{foreach $items as $item}} -{{/for}} +{{/foreach}}
{{$item.cr_name}}{{$item.cr_inroom}}
{{/if}}
-- cgit v1.2.3 From 677f5f641e6c37244ee67459b6fa2c7e5aea119b Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 Jan 2014 16:02:02 -0800 Subject: more testing of chatroom interfaces, also corrected a function call that should have been a class instantiation in reddav --- view/tpl/chatroomlist.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/chatroomlist.tpl') diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl index d2cf4d7b0..c26ba0c33 100644 --- a/view/tpl/chatroomlist.tpl +++ b/view/tpl/chatroomlist.tpl @@ -3,7 +3,7 @@ {{if $items}} {{foreach $items as $item}} - + {{/foreach}}
{{$item.cr_name}}{{$item.cr_inroom}}
{{$item.cr_name}}{{$item.cr_inroom}}
{{/if}} -- cgit v1.2.3