diff --git a/tildes/static/js/behaviors/comment-reply-button.js b/tildes/static/js/behaviors/comment-reply-button.js index e0af3fb..f09f969 100644 --- a/tildes/static/js/behaviors/comment-reply-button.js +++ b/tildes/static/js/behaviors/comment-reply-button.js @@ -89,10 +89,11 @@ $.onmount("[data-js-comment-reply-button]", function() { // add a warning if the comment being replied to is over a week old if (Date.now() - parentCommentTimestamp > 1000 * 3600 * 24 * 7) { var warningDiv = document.createElement("div"); - warningDiv.classList.add("toast", "toast-minor", "toast-warning"); + warningDiv.classList.add("warning-old-reply"); warningDiv.innerHTML = - "
(Replying to old comments is fine, just making sure it's intentional)
"; + 'The comment you\'re replying to ' + + "is over a week old. Replying to old comments is fine as long as " + + "you're contributing to the discussion.
"; clone.querySelector("form").prepend(warningDiv); } diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index 985a8c6..42c0a4c 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -214,9 +214,8 @@ data-js-confirm-leave-page-unsaved > {% if old_topic_warning %} -(Replying to old topics is fine, just making sure it's intentional)
+This topic is over a week old. Replying to old topics is fine as long as you're contributing to the discussion.