Skip to content

Commit e47ba02

Browse files
committed
Fix bug with first time speaker view template
There was an issue with the proposal detail view which incorrectly displayed first_time_speaker=false as being an First Time Speaker. Signed-off-by: Nabarun Pal <[email protected]>
1 parent 3fa2076 commit e47ba02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

junction/templates/proposals/detail/base.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ <h1 class="proposal-title">
7979
</div>
8080
{% endif %}
8181

82-
{% if is_author or is_reviewer or user.is_superuser and proposal.is_first_time_speaker %}
82+
{% if proposal.is_first_time_speaker %}
83+
{% if is_author or is_reviewer or user.is_superuser %}
8384
<span class="label label-info">First Time Speaker</span>
8485
{% endif %}
86+
{% endif %}
8587

8688
{% comment %}
8789
{% if is_reviewer %}

0 commit comments

Comments
 (0)