Sha256: 5642929eea83b30ba10e04d4f367214e38ad34416cdfc7692d2ad821cc47f3da

Contents?: true

Size: 674 Bytes

Versions: 21

Compression:

Stored size: 674 Bytes

Contents

<div class="conversation-chat<%= " conversation-chat--offset" if sender_is_user?(sender) %>">
  <%= link_to sender.personal_url do %>
    <%= image_tag avatar_url_for(sender), 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

21 entries across 21 versions & 1 rubygems

Version Path
decidim-core-0.26.1 app/cells/decidim/user_conversation/messages.erb