diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 087d9c746..5ff059160 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -1068,6 +1068,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.threaded .wall-item-comment-wrapper { + margin-left: 0px; +} .comment-edit-preview { width: 710px; border: 1px solid #2d2d2d; @@ -1139,6 +1142,37 @@ section { width: 25px; height: 25px; } +/* threaded comments */ +.children .children { + margin-left: 40px; +} +.children .children .wall-item-container { + width: 710px; +} +.children .children .children { + margin-left: 40px; +} +.children .children .children .wall-item-container { + width: 670px; +} +.children .children .children .children { + margin-left: 40px; +} +.children .children .children .children .wall-item-container { + width: 630px; +} +.children .children .children .children .children { + margin-left: 40px; +} +.children .children .children .children .children .wall-item-container { + width: 590px; +} +.children .children .children .children .children .children { + margin-left: 0px; +} +.threaded .hide-comments-outer { + margin-left: 20px; +} span[id^="showmore-teaser"] { background: url("showmore-bg.jpg") no-repeat center bottom; } diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 9c28473c6..3cc4e8cf6 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -1068,6 +1068,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.threaded .wall-item-comment-wrapper { + margin-left: 0px; +} .comment-edit-preview { width: 710px; border: 1px solid #2d2d2d; @@ -1139,6 +1142,37 @@ section { width: 25px; height: 25px; } +/* threaded comments */ +.children .children { + margin-left: 40px; +} +.children .children .wall-item-container { + width: 710px; +} +.children .children .children { + margin-left: 40px; +} +.children .children .children .wall-item-container { + width: 670px; +} +.children .children .children .children { + margin-left: 40px; +} +.children .children .children .children .wall-item-container { + width: 630px; +} +.children .children .children .children .children { + margin-left: 40px; +} +.children .children .children .children .children .wall-item-container { + width: 590px; +} +.children .children .children .children .children .children { + margin-left: 0px; +} +.threaded .hide-comments-outer { + margin-left: 20px; +} span[id^="showmore-teaser"] { background: url("showmore-bg.jpg") no-repeat center bottom; } diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index b5f0af669..a424ee020 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -538,6 +538,8 @@ section { } } +.threaded .wall-item-comment-wrapper { margin-left: 0px; } + .comment-edit-preview { width: 710px; border: 1px solid @Grey5; @@ -594,6 +596,35 @@ section { } .wwto .contact-photo { width: 25px; height: 25px; } +/* threaded comments */ +.children { + + & .children { + margin-left: 40px; + .wall-item-container { width: 710px; } + + & .children { + margin-left: 40px; + .wall-item-container { width: 670px; } + + & .children { + margin-left: 40px; + .wall-item-container { width: 630px; } + + & .children { + margin-left: 40px; + .wall-item-container { width: 590px; } + + .children { + margin-left: 0px; + } + } + } + } + } +} +.threaded .hide-comments-outer { margin-left: 20px; } + span[id^="showmore-teaser"]{ background: url("showmore-bg.jpg") no-repeat center bottom; } diff --git a/view/theme/quattro/threaded_conversation.tpl b/view/theme/quattro/threaded_conversation.tpl new file mode 100644 index 000000000..491c47302 --- /dev/null +++ b/view/theme/quattro/threaded_conversation.tpl @@ -0,0 +1,35 @@ +{{ 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/quattro/wall_item_tag.tpl b/view/theme/quattro/wall_item_tag.tpl index 926fc929d..205fcfebc 100644 --- a/view/theme/quattro/wall_item_tag.tpl +++ b/view/theme/quattro/wall_item_tag.tpl @@ -13,11 +13,13 @@
$item.location
- $item.body + $item.ago $item.body
+{{ if $item.flatten }}
$item.comment
+{{ endif }} diff --git a/view/theme/quattro/wall_thread.tpl b/view/theme/quattro/wall_thread.tpl new file mode 100644 index 000000000..4d454f00d --- /dev/null +++ b/view/theme/quattro/wall_thread.tpl @@ -0,0 +1,127 @@ +{{if $mode == display}} +{{ else }} +{{if $item.comment_firstcollapsed}} +
+ $item.num_comments $item.hide_text +
+ {{endif}} +{{ endif }} + +{{ if $item.flatten }} +
+ $item.comment +
+{{ endif }} diff --git a/view/theme/quattro/wallwall_thread.tpl b/view/theme/quattro/wallwall_thread.tpl new file mode 100644 index 000000000..cc2f8e362 --- /dev/null +++ b/view/theme/quattro/wallwall_thread.tpl @@ -0,0 +1,134 @@ +{{if $mode == display}} +{{ else }} +{{if $item.comment_firstcollapsed}} +
+ $item.num_comments $item.hide_text +
+ {{endif}} +{{ endif }} + +{{ if $item.flatten }} +
+ $item.comment +
+{{ endif }}