Commit 8778b84596f3714add101a82444b7feb1338ad04

Authored by Luan
2 parents dd792dc6 966ab4e4

Merge branch 'master' of github.com:TracyWebTech/colab

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&amp;order=latest">
76 {% trans "View more discussions..." %} 76 {% trans "View more discussions..." %}
77 </a> 77 </a>
78 <div>&nbsp;</div> 78 <div>&nbsp;</div>