diff --git a/isso/templates/admin.html b/isso/templates/admin.html index 484a949..24b1343 100644 --- a/isso/templates/admin.html +++ b/isso/templates/admin.html @@ -178,7 +178,7 @@ function send_edit(com_id, hash) { {% if order_by == "tid" %} {% if thread_id != comment.tid %} {% set thread_id = comment.tid %} -
+
{% endif %} {% if comment.author %} {{comment.author}} diff --git a/isso/views/comments.py b/isso/views/comments.py index 226cbcd..3e7b4b8 100644 --- a/isso/views/comments.py +++ b/isso/views/comments.py @@ -872,8 +872,9 @@ class API(object): comments_enriched.append(comment) comment_mode_count = self.comments.count_modes() max_page = int(sum(comment_mode_count.values()) / 100) + host = self.isso.conf.get("general", "host") return render_template('admin.html', comments=comments_enriched, page=int(page), mode=int(mode), conf=self.conf, max_page=max_page, counts=comment_mode_count, - order_by=order_by, asc=asc) + order_by=order_by, asc=asc, host=host)