From 5920a96da7f71b45b7d386d27da2c130e3ddb23f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 31 Oct 2015 00:38:01 +0100 Subject: make attachments appear in a dropdown in wall-item-tools-left --- view/tpl/conv_item.tpl | 19 ++++++++++--------- view/tpl/conv_list.tpl | 14 +++++++------- view/tpl/item_attach.tpl | 2 +- 3 files changed, 18 insertions(+), 17 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 760d64db0..4782f827b 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -69,11 +69,6 @@ {{$item.folders}} {{/if}} - {{if $item.attachments}} -
- {{$item.attachments}} -
- {{/if}}
{{/if}} @@ -157,9 +152,15 @@
- {{if $item.responses }} -
- {{foreach $item.responses as $verb=>$response}} + {{if $item.responses || $item.attachments}} +
+ {{if $item.attachments}} +
+ + +
+ {{/if}} + {{foreach $item.responses as $verb=>$response}} {{if $response.count}}
@@ -188,7 +189,7 @@ {{/if}}
{{/if}} - {{/foreach}} + {{/foreach}}
{{/if}}
diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index a3fb642ce..53f65bc78 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -66,11 +66,6 @@ {{$item.folders}}
{{/if}} - {{if $item.attachments}} -
- {{$item.attachments}} -
- {{/if}}
{{/if}} @@ -151,7 +146,13 @@
-
+
+ {{if $item.attachments}} +
+ + +
+ {{/if}}
{{/if}} - {{if $item.responses }} {{foreach $item.responses as $verb=>$response}} {{if $response.count}} diff --git a/view/tpl/item_attach.tpl b/view/tpl/item_attach.tpl index 7638f39e7..67accc1ec 100644 --- a/view/tpl/item_attach.tpl +++ b/view/tpl/item_attach.tpl @@ -1,5 +1,5 @@ {{if $attaches}} {{foreach $attaches as $a}} - {{$a.label}} +
  •  {{$a.label}}
  • {{/foreach}} {{/if}} -- cgit v1.2.3 From 3262d819de04d1c6ddfab8eb02a21fe2a61561a0 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Sat, 31 Oct 2015 22:34:59 +0100 Subject: update srings nl+es, wrapper-styled 1 tpl-file, more finetuning bluegrid schema. --- view/tpl/new_channel.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index ff2011181..f78a3fc2d 100755 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -1,3 +1,4 @@ +

    {{$title}}

    @@ -34,3 +35,4 @@
    +
    -- cgit v1.2.3 From 618155e6ab1a76b5aaa667aa41a1668ce8f73a20 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Sun, 1 Nov 2015 22:59:32 +0100 Subject: More Bluegrid fine tuning and generic-content-wrapper-styled added to some tpl-files and 2 php files, cause they dont have a tpl file. --- view/tpl/admin_queue.tpl | 3 ++- view/tpl/rating_form.tpl | 3 +++ view/tpl/sources_edit.tpl | 3 ++- view/tpl/sources_list.tpl | 4 +++- view/tpl/sources_new.tpl | 3 ++- 5 files changed, 12 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/admin_queue.tpl b/view/tpl/admin_queue.tpl index 85b476266..56b70bbee 100644 --- a/view/tpl/admin_queue.tpl +++ b/view/tpl/admin_queue.tpl @@ -1,3 +1,4 @@ +

    {{$banner}}

    {{if $hasentries}} @@ -11,4 +12,4 @@ -{{/if}} \ No newline at end of file +{{/if}} diff --git a/view/tpl/rating_form.tpl b/view/tpl/rating_form.tpl index d072a0b3c..4bd826484 100644 --- a/view/tpl/rating_form.tpl +++ b/view/tpl/rating_form.tpl @@ -1,3 +1,4 @@ +

    {{$header}}

    {{if $site}}{{$website}} {{$site}}{{else}}{{$tgt_name}}{{/if}}
    @@ -12,6 +13,7 @@ +

    {{$lbl_rating_txt}}

    @@ -20,3 +22,4 @@ +
    diff --git a/view/tpl/sources_edit.tpl b/view/tpl/sources_edit.tpl index 34023e03f..a5b384ca3 100644 --- a/view/tpl/sources_edit.tpl +++ b/view/tpl/sources_edit.tpl @@ -1,3 +1,4 @@ +

    {{$title}}

    {{$desc}}
    @@ -15,7 +16,7 @@

    {{$drop}} - +
    diff --git a/view/tpl/sources_list.tpl b/view/tpl/sources_list.tpl index 5fe50ba98..76be35b1a 100644 --- a/view/tpl/sources_list.tpl +++ b/view/tpl/sources_list.tpl @@ -1,3 +1,4 @@ +

    {{$title}}

    {{$desc}}
    @@ -12,4 +13,5 @@
  • {{$source.xchan_name}}
  • {{/foreach}} -{{/if}} \ No newline at end of file +{{/if}} +
    diff --git a/view/tpl/sources_new.tpl b/view/tpl/sources_new.tpl index 3c6a4be30..3c8a54373 100644 --- a/view/tpl/sources_new.tpl +++ b/view/tpl/sources_new.tpl @@ -1,3 +1,4 @@ +

    {{$title}}

    {{$desc}}
    @@ -11,5 +12,5 @@
    - +
    -- cgit v1.2.3