diff options
Diffstat (limited to 'app/views/statics/online.html.erb')
-rw-r--r-- | app/views/statics/online.html.erb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/statics/online.html.erb b/app/views/statics/online.html.erb index 8c31182..8bacf6f 100644 --- a/app/views/statics/online.html.erb +++ b/app/views/statics/online.html.erb @@ -1,14 +1,15 @@ <% title "Who's Playing?" %> -<h1>These players are currently playing on Redstoner:</h1> +<h1>These players are currently playing on Redstoner (<%= @count %>):</h1> <div id="userlist"> <% @players.each do |u| %> <div class="list-user"> <%= link_to(u.avatar(64), u) %> <div class="detail"> <%= render partial: "users/username", locals: { user: u } %><br> - <i><%= u.ign %></i> - <% unless u.id %> - <br><i>(Not signed up)</i> + <% if u.id %> + <i><%= u.ign %></i> + <% else %> + <i>(Not signed up)</i> <% end %> </div> </div> |