Sha256: f21deb6c365ec886c2da5a6e71e43379da025f3ec56e045c069da15541600444

Contents?: true

Size: 433 Bytes

Versions: 7

Compression:

Stored size: 433 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/dashboard/_users.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/dashboard/_users.html.erb