Sha256: 9cf8e127936304de44d09a8876d78f3666e1b98e74754cf6bab15701184477a8

Contents?: true

Size: 722 Bytes

Versions: 10

Compression:

Stored size: 722 Bytes

Contents

<div class="conversation-chat<%= " conversation-chat--offset" if sender_is_user?(sender) %>">
  <%= link_to sender.personal_url do %>
    <%= image_tag sender.attached_uploader(:avatar).url(host: current_organization.host), alt: t("decidim.author.avatar", name: decidim_sanitize(sender.name)) %>
  <% end %>
  <div>
    <% messages.each do |message| %>
      <article class="card">
        <div class="p-s">
          <%= simple_format(message.body_with_links) %>
        </div>
      </article>
    <% end %>
    <span class="text-small<%= " pull-right" if sender_is_user?(sender) %>" title="<%= messages.last.created_at.strftime("%d-%m-%Y %H:%M:%S%z") %>"><%= messages.last.friendly_created_at %></span>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-core-0.26.0 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.26.0.rc2 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.26.0.rc1 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.2 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.1 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.0 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.0.rc4 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.0.rc3 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.0.rc2 app/cells/decidim/user_conversation/messages.erb
decidim-core-0.25.0.rc1 app/cells/decidim/user_conversation/messages.erb