Commit 8778b84596f3714add101a82444b7feb1338ad04
Exists in
master
and in
39 other branches
Merge branch 'master' of github.com:TracyWebTech/colab
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
src/super_archives/templates/message-thread.html
@@ -95,7 +95,9 @@ | @@ -95,7 +95,9 @@ | ||
95 | }); | 95 | }); |
96 | 96 | ||
97 | $('.vote.btn', this).on('click', vote); | 97 | $('.vote.btn', this).on('click', vote); |
98 | - $('.reply.btn', this).on('click', focus_reply); | 98 | + {% if user.is_active %} |
99 | + $('.reply.btn', this).on('click', focus_reply); | ||
100 | + {% endif %} | ||
99 | }); | 101 | }); |
100 | 102 | ||
101 | </script> | 103 | </script> |
src/templates/home.html
@@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
72 | {% include "message-preview.html" with result=thread.latest_message %} | 72 | {% include "message-preview.html" with result=thread.latest_message %} |
73 | {% endfor %} | 73 | {% endfor %} |
74 | </ul> | 74 | </ul> |
75 | - <a href="{% url 'haystack_search' %}?type=thread&order=latest"> | 75 | + <a href="{% url 'haystack_search' %}?type=thread&order=latest"> |
76 | {% trans "View more discussions..." %} | 76 | {% trans "View more discussions..." %} |
77 | </a> | 77 | </a> |
78 | <div> </div> | 78 | <div> </div> |