Merge pull request #22 from lca2017/chrisjrn/21-chairs-can-see-own-proposals
Lets programme chairs see their own proposals.
This commit is contained in:
commit
7225dcd660
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ def review_section(request, section_slug, assigned=False, reviewed="all"):
|
||||||
speaker__user=request.user)
|
speaker__user=request.user)
|
||||||
reviewed = "user_not_reviewed"
|
reviewed = "user_not_reviewed"
|
||||||
|
|
||||||
proposals = proposals_generator(request, queryset)
|
# lca2017 #21 -- chairs want to be able to see their own proposals in the list
|
||||||
|
check_speaker = not request.user.has_perm("reviews.can_manage_%s" % section_slug)
|
||||||
|
proposals = proposals_generator(request, queryset, check_speaker=check_speaker)
|
||||||
|
|
||||||
ctx = {
|
ctx = {
|
||||||
"proposals": proposals,
|
"proposals": proposals,
|
||||||
|
|
Loading…
Reference in a new issue