From: Thomas Willingham Date: Thu, 16 Aug 2012 17:21:33 +0000 (+0100) Subject: Make Vier threaded comments not broken. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee998864e680a735560468c096bb1ad545e72348;p=friendica.git Make Vier threaded comments not broken. These should be inherited from Quattro really, but aren't. --- diff --git a/view/theme/vier/threaded_conversation.tpl b/view/theme/vier/threaded_conversation.tpl new file mode 100644 index 0000000000..13c38acb2b --- /dev/null +++ b/view/theme/vier/threaded_conversation.tpl @@ -0,0 +1,37 @@ +{{ for $threads as $item }} + +
+ + + {{ if $item.type == tag }} + {{ inc wall_item_tag.tpl }}{{ endinc }} + {{ else }} + {{ inc $item.template }}{{ endinc }} + {{ endif }} + +
+{{ endfor }} + +
+ +{{ if $dropping }} + + $dropping + +{{ endif }} + + + +{{ if $mode == display }} + +{{ endif }} + diff --git a/view/theme/vier/wall_thread.tpl b/view/theme/vier/wall_thread.tpl new file mode 100644 index 0000000000..01738b666b --- /dev/null +++ b/view/theme/vier/wall_thread.tpl @@ -0,0 +1,144 @@ +{{if $mode == display}} +{{ else }} +{{if $item.comment_firstcollapsed}} +
+ $item.num_comments + $item.hide_text + {{ if $item.thread_level==3 }} - + expand / + collapse thread{{ endif }} +
+ {{endif}} +{{ endif }} + +{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}} +
$item.comment
+{{ endif }}{{ endif }}{{ endif }} + + +{{ if $item.flatten }} +
$item.comment
+{{ endif }} diff --git a/view/theme/vier/wallwall_thread.tpl b/view/theme/vier/wallwall_thread.tpl new file mode 100644 index 0000000000..93a8838ebd --- /dev/null +++ b/view/theme/vier/wallwall_thread.tpl @@ -0,0 +1,151 @@ +{{if $mode == display}} +{{ else }} +{{if $item.comment_firstcollapsed}} +
+ $item.num_comments + $item.hide_text + {{ if $item.thread_level==3 }} - + expand / + collapse thread{{ endif }} +
+ {{endif}} +{{ endif }} + +{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}} +
$item.comment
+{{ endif }}{{ endif }}{{ endif }} + + +{{ if $item.flatten }} +
$item.comment
+{{ endif }}