Skip to content

Commit

Permalink
Link to TOC and Privacy on homepage.
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchpete committed Jan 19, 2024
1 parent a38abed commit 903ec4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/layouts/new_homepage.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
-regs_due.each do |reg|
%li #{link_to(reg.league.name, register_league_path(reg.league))} ($#{number_with_precision(reg.price, precision: 2)}) Expires in: <span class="countdown" data-expiration="#{reg.expires_at.to_i}" data-expire-message="Registration Expired.">#{distance_of_time_in_words_to_now(reg.expires_at)}</span>
= yield
%div{style: 'margin-top: 150px', class: 'text-center'}
= link_to 'Privacy Policy', privacy_policy_path
|
= link_to 'Terms & Conditions', terms_and_conditions_path
- if Rails.env.development?
%div{style: 'margin-top: 50px'}
= debug(params)

0 comments on commit 903ec4b

Please sign in to comment.