From 0f79d8c3be13cf79147afbe65fd9223708032915 Mon Sep 17 00:00:00 2001 From: Ananya Maiti Date: Mon, 8 May 2023 01:22:57 +0530 Subject: [PATCH] Fix proposal comment template parameters --- junction/proposals/views.py | 5 +++++ junction/templates/proposals/dashboard.html | 5 ----- junction/templates/proposals/detail/base.html | 2 +- junction/templates/proposals/detail/comments.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/junction/proposals/views.py b/junction/proposals/views.py index ea9789e8..aebf22c2 100644 --- a/junction/proposals/views.py +++ b/junction/proposals/views.py @@ -256,6 +256,11 @@ def detail_proposal(request, conference_slug, slug, hashid=None): "is_reviewer": is_reviewer, "is_section_reviewer": is_section_reviewer, "can_view_feedback": False, + "schedule_item": False, + "reviewers_comments": False, + "reviewers_proposal_comment_form": False, + "reviewers_only_proposal_comment_form": False, + "reviewers_only_comments": False, "can_vote": permissions.is_proposal_voting_allowed(proposal), "public_voting_setting": public_voting_setting_value, } diff --git a/junction/templates/proposals/dashboard.html b/junction/templates/proposals/dashboard.html index 4fb55514..48e2629f 100644 --- a/junction/templates/proposals/dashboard.html +++ b/junction/templates/proposals/dashboard.html @@ -44,11 +44,6 @@ {{ conference.start_date }}{{ conference.end_date }} - {% if is_proposal_reviewer %} - - Reviewer Dashboard - - {% endif %} {{ conference.get_status_display }} diff --git a/junction/templates/proposals/detail/base.html b/junction/templates/proposals/detail/base.html index 37a92deb..c2920653 100644 --- a/junction/templates/proposals/detail/base.html +++ b/junction/templates/proposals/detail/base.html @@ -25,7 +25,7 @@ {% endblock %} {% block navbar_logo %} - {% if conference.logo %} + {% if proposal.conference.logo %} diff --git a/junction/templates/proposals/detail/comments.html b/junction/templates/proposals/detail/comments.html index ddb02c76..f836bf3e 100644 --- a/junction/templates/proposals/detail/comments.html +++ b/junction/templates/proposals/detail/comments.html @@ -40,7 +40,7 @@
{% if comment.is_spam %}
The comment is marked as spam. - {% if request.user.is_authenticated and request.user == comment.marked_marked_as_spam_by %} + {% if request.user.is_authenticated and request.user == comment.marked_as_spam_by %} Unmark as spam {% endif %}

{% else %}