Sha256: 13198766e83b5b031eb77dc16795145505809e138cba44ec742db9df9c478f03

Contents?: true

Size: 450 Bytes

Versions: 31

Compression:

Stored size: 450 Bytes

Contents

<div class="widget">
  <h2><%= Alchemy.t('Who else is online') %>:</h2>
  <table>
  <% if @online_users.blank? %>
    <tr class="even">
      <td><%= Alchemy.t('no users') %></td>
    </tr>
  <% else %>
    <% @online_users.each do |user| %>
    <tr class="<%= cycle('even', 'odd') %>">
      <td><%= user.name %></td>
      <td>
        <small><%= user.human_roles_string %></small>
      </td>
    </tr>
    <% end %>
  <% end %>
  </table>
</div>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.5.0.rc1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/dashboard/_users.html.erb