Skip to content

Commit

Permalink
Show 'unknown' for 'Published' on talk page if it's in a published state
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Jan 30, 2025
1 parent 3a2ebde commit 23bd35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/talks/_talk.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
Date: <% if talk.date %> <%= talk.formatted_date %> <% else %> unknown<% end %><br>

<span class="text-gray-400">
Published: <% if talk.published_at %><%= talk.published_at.strftime("%B %d, %Y") %><% else %> not published<% end %><br>
Published: <% if talk.published_at %><%= talk.published_at.strftime("%B %d, %Y") %><% elsif talk.published_state? %> unknown <% else %> not published <% end %><br>
Announced: <% if talk.announced_at %><%= talk.announced_at.strftime("%B %d, %Y") %><% else %> unknown<% end %>
</span>
</p>
Expand Down

0 comments on commit 23bd35f

Please sign in to comment.