Sha256: c79b34c645beff613b55f221366086fce9cf197f02605e0ac4f38064454ba0cf

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 Bytes

Contents

<% if (users = active_users).present? %>
  <aside data-thredded-currently-online class="thredded--currently-online">
    <header>
      <h3 class="thredded--currently-online--title open">Currently Online</h3>
    </header>

    <ul class="thredded--currently-online--users">
      <% users.each do |user| %>
        <li class="thredded--currently-online--user">
          <img class="thredded--currently-online--avatar" src="<%= Thredded.avatar_url.call(user) %>" alt=""/>
          <%= user.thredded_display_name %>
        </li>
      <% end %>
    </ul>
  </aside>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thredded-0.9.1 app/views/thredded/shared/_currently_online.html.erb
thredded-0.8.4 app/views/thredded/shared/_currently_online.html.erb
thredded-0.8.2 app/views/thredded/shared/_currently_online.html.erb
thredded-0.7.0 app/views/thredded/shared/_currently_online.html.erb