Permalink
Browse files

remove is_me (only used for checking if mark as accepted can be shown…

…) and use workflow
  • Loading branch information...
1 parent 64a757d commit 874dbfa18d267cb0731d3e80fa9c02e68a92e96f @brosner brosner committed Sep 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 aiteo/views.py
View
@@ -98,7 +98,7 @@ def question_detail(request, question_id, **kwargs):
ctx = group_context(group, bridge)
ctx.update({
"group": group,
- "is_me": is_me,
+ "can_mark_accepted": workflow.can_mark_accepted(request.user, question),
"question": question,
"responses": responses,
"add_response_form": add_response_form,

0 comments on commit 874dbfa

Please sign in to comment.