Skip to content

Commit

Permalink
Tweak server pages
Browse files Browse the repository at this point in the history
  • Loading branch information
amoeba committed Feb 4, 2021
1 parent 88ee3f8 commit 15bfc7c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions views/server.haml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
%h2.title= params[:server]

- if @characters.count == 0
%span No characters to display for this server which means no one is running TreeStats on the server :(.
- else


%table.deflist
%tbody
%tr
Expand Down Expand Up @@ -44,7 +39,10 @@
%td
%a{:href => @details[:discord]}= @details[:discord]

%p Recently-uploaded characters
- if @characters.count == 0
%span No characters to display for this server which means no one is running TreeStats on the server :(.
- else
%h3 Recent Uploads
%table.listing
%thead
%tr
Expand Down

0 comments on commit 15bfc7c

Please sign in to comment.