From fa6c6458b691589b789952350c620886872d8e04 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Mon, 4 Jan 2016 19:43:57 +0000 Subject: [PATCH] Added full screen bout board --- app/views/layouts/_lsidebar.html.erb | 3 ++- app/views/tournaments/up_matches.html.erb | 12 ++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/views/layouts/_lsidebar.html.erb b/app/views/layouts/_lsidebar.html.erb index 7b2ef6b..95f61cc 100644 --- a/app/views/layouts/_lsidebar.html.erb +++ b/app/views/layouts/_lsidebar.html.erb @@ -8,7 +8,7 @@ @@ -20,6 +20,7 @@
Pages

<%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
<%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %> +
<%= link_to "Full Screen Bout Board" , "/tournaments/#{@tournament.id}/up_matches?print=true" %>

Time Savers

<%= link_to "Create High School Weights" , "/tournaments/#{@tournament.id}/create_custom_weights?customValue=hs",data: { confirm: 'Are you sure? This will delete all current weights.' } %> diff --git a/app/views/tournaments/up_matches.html.erb b/app/views/tournaments/up_matches.html.erb index 3facce1..d55fae2 100644 --- a/app/views/tournaments/up_matches.html.erb +++ b/app/views/tournaments/up_matches.html.erb @@ -1,9 +1,9 @@ <% cache ["up_matches", @tournament] do %> <%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>