Sha256: a0385148091ad01f3ad787578db76c62b90d17a9f0e1e9e380d31cc4342ca3e8

Contents?: true

Size: 749 Bytes

Versions: 7

Compression:

Stored size: 749 Bytes

Contents

<div class="conversation">
  <%= render :conversation_header %>

  <div id="messages" class="space-y-6" data-scroll-last-child>
    <% user_grouped_messages.each do |sender, messages| %>
      <%= render view: "messages", locals: { sender:, messages: } %>
    <% end %>
  </div>

  <div class="conversation__reply-container">
    <% if conversation.with_deleted_users?(user) %>
      <%= cell("decidim/announcement", t("decidim.messaging.conversations.show.deleted_accounts"), callout_class: "warning") %>
    <% elsif conversation.accept_user?(user) %>
      <%= render :reply %>
    <% else %>
      <%= cell("decidim/announcement", t("decidim.messaging.conversations.show.not_allowed"), callout_class: "warning") %>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.28.4 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.3 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.2 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.1 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.0 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.0.rc5 app/cells/decidim/user_conversation/show.erb
decidim-core-0.28.0.rc4 app/cells/decidim/user_conversation/show.erb