app/views/discussions/show.html.erb in mumuki-laboratory-5.6.3 vs app/views/discussions/show.html.erb in mumuki-laboratory-5.7.0
- old
+ new
@@ -54,9 +54,12 @@
<%= t :messages %>
</h3>
<% if @discussion.has_messages? %>
<div class="discussion-messages">
+ <% if @discussion.description.present? %>
+ <%= render partial: 'discussions/description_message', locals: {discussion: @discussion} %>
+ <% end %>
<% @discussion.messages.each do |message| %>
<%= render partial: 'discussions/message', locals: {user: message.sender_user, message: message} %>
<% end %>
<% if @discussion.commentable_by?(current_user) %>
<hr class="message-divider">