From 5c0c4f8d7b8b4267b101ba863e3e2b725027786b Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 9 Jan 2019 07:35:38 -0500 Subject: [PATCH] If there are no rounds the bout sheets should not be displayed --- app/views/layouts/_lsidebar.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_lsidebar.html.erb b/app/views/layouts/_lsidebar.html.erb index 2ae9f1b..ad124b3 100644 --- a/app/views/layouts/_lsidebar.html.erb +++ b/app/views/layouts/_lsidebar.html.erb @@ -22,8 +22,10 @@
<%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %>
<%= link_to "Full Screen Bout Board" , "/tournaments/#{@tournament.id}/up_matches?print=true" , target: :_blank %>
Bout Sheets: