From 5462453bf2bde50166c68f90b08d24826dd07ba8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 30 Mar 2016 14:31:55 +0200 Subject: some work on mod chat --- view/tpl/chatrooms.tpl | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) (limited to 'view/tpl/chatrooms.tpl') diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index 570aef1c7..c7333efcf 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -1,12 +1,39 @@ -
-

{{$header}}

- -{{if $is_owner}} -

-{{$newroom}} -

-{{/if}} - -{{$rooms}} +
+
+ {{if $is_owner}} + + {{/if}} +

{{$header}}

+
+ {{if $is_owner}} + {{$chatroom_new}} + {{/if}} + {{if $rooms}} +
+ + + + + + + {{foreach $rooms as $room}} + + + + + + {{/foreach}} +
name
{{$room.cr_name}}{{$room.cr_inroom}}
+
+ {{else}} +
+ {{$norooms}} +
+ {{/if}}
-- cgit v1.2.3 From 08461c7049ee5c9788e815537b540b9987a5eace Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 30 Mar 2016 14:44:03 +0200 Subject: more on mod chat --- view/tpl/chatrooms.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/chatrooms.tpl') diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index c7333efcf..e3d0eb5b5 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -12,7 +12,7 @@
- + -- cgit v1.2.3 From b8d8be701382b72b3556ff9a3d67aabfc85223f5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 3 Apr 2016 11:34:07 +0200 Subject: show chat expiration time in overview and minor fixes --- view/tpl/chatrooms.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'view/tpl/chatrooms.tpl') diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index e3d0eb5b5..de8cdce7c 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -12,14 +12,16 @@
name{{$name}}
- + + {{foreach $rooms as $room}} - + -
{{$name}}{{$name}}{{$expire}}
{{$room.cr_name}}{{$room.cr_expire}} min
{{$room.cr_name}} {{$room.cr_expire}} min