From 15bfc7cd47f16004e7a68a6c0f51a46095fbbaff Mon Sep 17 00:00:00 2001 From: Bryce Mecum Date: Thu, 4 Feb 2021 11:01:54 -0900 Subject: [PATCH] Tweak server pages --- views/server.haml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/views/server.haml b/views/server.haml index d0032134..29ddaed7 100644 --- a/views/server.haml +++ b/views/server.haml @@ -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 @@ -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