1
0
Fork 0

Collapsing is back for threaded comments.

Comment box is displayed at the end of the thread.
Comments on comments are all collapsed
This commit is contained in:
Domovoy 2012-07-29 17:13:21 +02:00
commit 8ea3087342
4 changed files with 33 additions and 23 deletions

View file

@ -28,7 +28,7 @@ background: #444;
}
.wall-item-tools { background-color: #444444; background-image: none;}
.comment-wwedit-wrapper{ background-color: #444444; }
.comment-wwedit-wrapper{ background-color: #333333; }
.comment-edit-preview{ color: #000000; }
.wall-item-content-wrapper.comment { background-color: #444444; border: 0px;}
.photo-top-album-name{ background-color: #333333; }

View file

@ -1181,7 +1181,6 @@ input#dfrn-url {
.comment-wwedit-wrapper {
margin-top: 15px;
background: #f3f3f3;
margin-left: 50px;
}
.comment-edit-photo {

View file

@ -1,12 +1,10 @@
{{if $item.comment_firstcollapsed}}
<div class="hide-comments-outer">
<span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
</div>
<div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
{{endif}}
<div id="tread-wrapper-$item.id" class="tread-wrapper">
{{if $item.comment_firstcollapsed}}
<div class="hide-comments-outer">
<span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
</div>
<div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
{{endif}}
{{if $item.comment_lastcollapsed}}</div>{{endif}}
<a name="$item.id" ></a>
<div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >
<div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
@ -76,9 +74,6 @@
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
<div class="wall-item-delete-end"></div>
</div>
<div class="wall-item-comment-wrapper" >
$item.comment
</div>
</div>
<div class="wall-item-wrapper-end"></div>
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
@ -88,4 +83,9 @@
{{ for $item.children as $item }}
{{ inc $item.template }}{{ endinc }}
{{ endfor }}
<div class="wall-item-comment-wrapper" >
$item.comment
</div>
</div>
{{if $item.comment_lastcollapsed}}</div>{{endif}}