Permalink
Browse files

tweaked error message on no reply permission

  • Loading branch information...
1 parent 4eaec73 commit f78a1e9b4b0e91e85ea91e711aad4a16cc8202af @jtauber jtauber committed Dec 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 agora/views.py
View
@@ -171,7 +171,7 @@ def reply_create(request, thread_id):
can_create_reply = request.user.has_perms("agora.add_forumreply", obj=thread)
if not can_create_reply:
- messages.error(request, "You do not have permission to create a reply.")
+ messages.error(request, "You do not have permission to reply to this thread.")
return HttpResponseRedirect(reverse("agora_thread", args=[thread.id]))
if request.method == "POST":

0 comments on commit f78a1e9

Please sign in to comment.