Skip to content

Commit 0f79d8c

Browse files
Ananya MaitiAnanya Maiti
Ananya Maiti
authored and
Ananya Maiti
committed
Fix proposal comment template parameters
1 parent f306c6e commit 0f79d8c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

junction/proposals/views.py

+5
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ def detail_proposal(request, conference_slug, slug, hashid=None):
256256
"is_reviewer": is_reviewer,
257257
"is_section_reviewer": is_section_reviewer,
258258
"can_view_feedback": False,
259+
"schedule_item": False,
260+
"reviewers_comments": False,
261+
"reviewers_proposal_comment_form": False,
262+
"reviewers_only_proposal_comment_form": False,
263+
"reviewers_only_comments": False,
259264
"can_vote": permissions.is_proposal_voting_allowed(proposal),
260265
"public_voting_setting": public_voting_setting_value,
261266
}

junction/templates/proposals/dashboard.html

-5
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@
4444
<span class="start_date">{{ conference.start_date }}</span>
4545
<span class="end_date">{{ conference.end_date }}</span>
4646
</b>
47-
{% if is_proposal_reviewer %}
48-
<a class='btn btn-primary pull-right' href="{% url 'proposal-dashboard' conference.slug %}">
49-
Reviewer Dashboard
50-
</a>
51-
{% endif %}
5247
<span class="status status-{{conference.status}}">
5348
{{ conference.get_status_display }}
5449
</span>

junction/templates/proposals/detail/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{% endblock %}
2626

2727
{% block navbar_logo %}
28-
{% if conference.logo %}
28+
{% if proposal.conference.logo %}
2929
<a href="{% url "conference-detail" conference.slug %}">
3030
<img src="{{ conference.logo.url }}">
3131
</a>

junction/templates/proposals/detail/comments.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h5 class="text-muted clear-margin vote-count">
4040
{% if comment.is_spam %}
4141
<div class="comment-description spam" id="comment-{{comment.id}}">
4242
<span>The comment is marked as spam.</span>
43-
{% if request.user.is_authenticated and request.user == comment.marked_marked_as_spam_by %}
43+
{% if request.user.is_authenticated and request.user == comment.marked_as_spam_by %}
4444
<a href="#" data-url="{{ comment.get_unmark_spam_url }}" class="js-unmark-spam">Unmark as spam</a>
4545
{% endif %}<br/><br/>
4646
{% else %}

0 commit comments

Comments
 (0)