dump update
This commit is contained in:
parent
7680ba4bb0
commit
c3b7d465b1
784 changed files with 35 additions and 18 deletions
15
templates/comments/content-list.html
Normal file → Executable file
15
templates/comments/content-list.html
Normal file → Executable file
|
@ -98,20 +98,19 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- {{ node.count_replies }}
|
||||
{{node.revisions - 1}} -->
|
||||
{% if node.revisions == 1 %}
|
||||
{% set real_replies = node.count_replies - node.revisions + 1 %}
|
||||
{% else %}
|
||||
{% set real_replies = node.count_replies - node.revisions + 2 %}
|
||||
{% endif %}
|
||||
|
||||
{% if real_replies > 1 %}
|
||||
<a href="javascript:comment_reply({{ node.id }}, {{ object.id }})" class="show_more_reply"> {{ real_replies }} {{
|
||||
_(' Replies ') }} </a>
|
||||
<a href="javascript:comment_reply({{ node.id }}, {{ object.id }})" class="show_more_reply">
|
||||
{{ _(' View ') }} {{ real_replies }} {{ _(' replies ') }}
|
||||
</a>
|
||||
{% elif real_replies %}
|
||||
<a href="javascript:comment_reply({{ node.id }}, {{ object.id }})" class="show_more_reply"> {{ real_replies }} {{
|
||||
_(' Reply ') }} </a>
|
||||
<a href="javascript:comment_reply({{ node.id }}, {{ object.id }})" class="show_more_reply">
|
||||
{{ _(' View ') }} {{ real_replies }} {{_(' reply ') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
<ul id="comment-{{ node.id }}-reply" class="reply-comment" hidden></ul>
|
||||
|
@ -120,5 +119,5 @@
|
|||
|
||||
{% if replies - offset > 0 %}
|
||||
<a href="javascript:comment_show_more({{ comment_root_id }}, {{ object.id }}, {{ offset }} )" class="show_more_comment">
|
||||
{{ replies - offset }} Replies More</a>
|
||||
{{ _(' View ') }} {{ replies - offset }} {{ _(' comments more ') }}</a>
|
||||
{% endif %}
|
0
templates/comments/content.html
Normal file → Executable file
0
templates/comments/content.html
Normal file → Executable file
0
templates/comments/edit-ajax.html
Normal file → Executable file
0
templates/comments/edit-ajax.html
Normal file → Executable file
0
templates/comments/edit.html
Normal file → Executable file
0
templates/comments/edit.html
Normal file → Executable file
0
templates/comments/feed.html
Normal file → Executable file
0
templates/comments/feed.html
Normal file → Executable file
0
templates/comments/list.html
Normal file → Executable file
0
templates/comments/list.html
Normal file → Executable file
0
templates/comments/math.html
Normal file → Executable file
0
templates/comments/math.html
Normal file → Executable file
0
templates/comments/media-css.html
Normal file → Executable file
0
templates/comments/media-css.html
Normal file → Executable file
6
templates/comments/media-js.html
Normal file → Executable file
6
templates/comments/media-js.html
Normal file → Executable file
|
@ -156,13 +156,15 @@
|
|||
offset: offset,
|
||||
},
|
||||
success: function(data) {
|
||||
var $comment_show_btn = $("#comment-" + id + " .show_more_comment");
|
||||
$comment_show_btn.hide();
|
||||
if (id == 0) {
|
||||
var $comment = $("#comment-" + id);
|
||||
var $comment_show_btn = $("#comment-" + id + " .show_more_comment");
|
||||
$comment_show_btn.hide();
|
||||
$comment.append(data);
|
||||
} else {
|
||||
var $comment = $("#comment-" + id + "-children");
|
||||
var $comment_show_btn = $("#comment-" + id + "-children" + " .show_more_comment");
|
||||
$comment_show_btn.hide();
|
||||
$comment.append(data);
|
||||
}
|
||||
}
|
||||
|
|
0
templates/comments/preview.html
Normal file → Executable file
0
templates/comments/preview.html
Normal file → Executable file
0
templates/comments/revision-ajax.html
Normal file → Executable file
0
templates/comments/revision-ajax.html
Normal file → Executable file
0
templates/comments/votes.html
Normal file → Executable file
0
templates/comments/votes.html
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue