Sha256: f7043d24fc029254711863a6246cf475588a470ac3c9cc43da582dfedc0e3dc6

Contents?: true

Size: 1.67 KB

Versions: 24

Compression:

Stored size: 1.67 KB

Contents

<div class="wrapper">
  <div class="row">
    <div class="columns medium-9 medium-centered tabs-panel is-active" id="conversations" role="tabpanel" aria-label="<%= strip_tags(conversation_label_for(participants)) %>">
      <div class="conversation">

        <div class="conversation-header flex--cc absolutes">
          <div class="left center mr-s">
            <%= link_to decidim.conversations_path, class: "card--list__data__icon card--list__data__icon--back" do %>
              <%= icon "chevron-left", role: "img", aria_label: t(".back") %>
            <% end %>
          </div>

          <% if participants.count == 1 %>
            <% if participants.first.deleted? %>
              <%= image_tag present(participants.first).avatar_url, alt: t("decidim.author.avatar", name: t("decidim.profile.deleted")) %>
            <% else %>
              <%= link_to profile_path(participants.first.nickname) do %>
                <%= image_tag present(participants.first).avatar_url, alt: t("decidim.author.avatar", name: decidim_sanitize(participants.first.name)) %>
              <% end %>
            <% end %>
          <% else %>
            <%= image_tag present(current_user).avatar.default_multiuser_url, alt: t("decidim.author.avatar_multiuser") %>
          <% end %>
          <div class="ml-s">
            <h1>
              <% if participants.count == 1 %>
                <%= t(".chat_with") %> <%= conversation_name_for(participants) %>
              <% else %>
                <%= t(".title", usernames: username_list(participants)).html_safe %>
              <% end %>
            </h1>
          </div>
        </div>

        <%= yield %>

      </div>
    </div>
  </div>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.8 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.7 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.6 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.10 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.9 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.5 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.8 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.4 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.3 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.7 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.5 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.2 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.1 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.4 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.0 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.3 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.0.rc2 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.27.0.rc1 app/views/decidim/messaging/conversations/_show.html.erb
decidim-core-0.26.2 app/views/decidim/messaging/conversations/_show.html.erb