diff --git a/files/templates/authforms.html b/files/templates/authforms.html
index daf2e718f..941df00c4 100644
--- a/files/templates/authforms.html
+++ b/files/templates/authforms.html
@@ -15,7 +15,7 @@
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/comments.html b/files/templates/comments.html
index 61e7be4e3..2d46e9fb6 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -185,8 +185,6 @@
-
-
{% if c.awards %}
{% for a in c.awards %}
@@ -894,13 +892,12 @@
{% if p and (not v or v.highlightcomments) %}
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
lastCount = comments['{{p.id}}']
- redhtml = ''
if (lastCount)
{
- {% for c in p.comments2 %}
- {% if not (v and v.id==c[0]) %}
- if ({{c[1]*1000}} > lastCount.t)
- try {document.getElementById("reddot-{{c[2]}}").innerHTML = redhtml}
+ {% for c in comments %}
+ {% if not (v and v.id==c.author_id) %}
+ if ({{c.created_utc*1000}} > lastCount.t)
+ try {document.getElementById("comment-{{c.id}}-only").classList.add('unread2')}
catch(e) {}
{% endif %}
{% endfor %}
diff --git a/files/templates/default.html b/files/templates/default.html
index 8b7abf2bc..4ce48d130 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -7,7 +7,7 @@
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
{% if sub and sub.css and not request.path.endswith('settings') %}
diff --git a/files/templates/log.html b/files/templates/log.html
index 3c5c668b0..6edad4346 100644
--- a/files/templates/log.html
+++ b/files/templates/log.html
@@ -6,7 +6,7 @@
{% block content %}
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
diff --git a/files/templates/login.html b/files/templates/login.html
index 3ab0fbe1e..76b6fe018 100644
--- a/files/templates/login.html
+++ b/files/templates/login.html
@@ -18,7 +18,7 @@
{% endblock %}
-
+
diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html
index 3cef89ae5..0cd68ecd9 100644
--- a/files/templates/login_2fa.html
+++ b/files/templates/login_2fa.html
@@ -14,7 +14,7 @@
2-Step Login - {{SITE_NAME}}
-
+
diff --git a/files/templates/settings.html b/files/templates/settings.html
index 5a09fed65..b3e8f1a90 100644
--- a/files/templates/settings.html
+++ b/files/templates/settings.html
@@ -34,7 +34,7 @@
-
+
{% if v.agendaposter %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html
index 8e18b2056..35d7c7fb3 100644
--- a/files/templates/sign_up.html
+++ b/files/templates/sign_up.html
@@ -31,7 +31,7 @@
{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}
-
+
diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html
index d683abf3d..42dbe4073 100644
--- a/files/templates/sign_up_failed_ref.html
+++ b/files/templates/sign_up_failed_ref.html
@@ -32,7 +32,7 @@
{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}
-
+
diff --git a/files/templates/submit.html b/files/templates/submit.html
index 2b355cadc..968520337 100644
--- a/files/templates/submit.html
+++ b/files/templates/submit.html
@@ -26,7 +26,7 @@
{% block stylesheets %}
{% if v %}
-
+
{% if v.agendaposter %}
-
+
{% endif %}
{% endblock %}