Skip to content

Commit

Permalink
Merge pull request #251 from freezingsaddles/menu-flag-fire-rebased
Browse files Browse the repository at this point in the history
Fix menus for flag and fire, fix opmdays
  • Loading branch information
obscurerichard authored Feb 4, 2024
2 parents a280f2b + 48096be commit 16ecdd3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions freezing/web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@
<li><a href="/pointless/generic/londonbridge">London Bridge Rides</a></li>
<li><a href="/pointless/arlington">Loopy for Arlington</a></li>
<li><a href="https://www.bikearlingtonforum.com/forums/topic/meh-diocrity-pointless-prize-2/">Meh-diocrity</a></li>
<li><a href="/pointless/hashtag/fire">Fire</a></li>
<li><a href="/pointless/hashtag/flag">Flag</a></li>
<li><a href="/pointless/opmdays">Michigander Snow Day Rides</a></li>
<li><a href="/pointless/hashtag/monuments">Monuments and Memorials</a></li>
<!-- li><a href="/pointless/hashtag/oldGeorge">Old Georgetown Bike Lane</a></li -->
Expand Down
8 changes: 7 additions & 1 deletion leaderboards/opmdays.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Michigander - You call THAT a snow day?! - Prize
description: |
<p>Riders who have ridden on the most offcial OPM snow days, or if no snow days are declared, on Michigan Day (Monday, January 18th). Ties to be broken by total mileage.</p>
<p>Current official snow days: None</p>
<!-- <p>Current official snow days: None</p> -->
<p>Current official snow days: Tuesday, January 16th</p>
fields:
- name: athlete_id
visible: false
Expand All @@ -21,6 +22,11 @@ query: |
sum(R.distance) as distance
from lbd_athletes A
join rides R on R.athlete_id=A.id
/*
2024 had an OPM snow day on Jan 16, so disable this for now.
where date(R.start_date) in (makedate(year(now()), 18))
*/
where date(R.start_date) in ('2024-01-16')
group by athlete_id, athlete_name
order by days desc, distance desc;
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

__copyright__ = "Copyright 2015 Hans Lellelid"

version = "1.2.1"
version = "1.2.2"

long_description = """
The freezing saddles cycling competition website/scoreboard.
Expand Down

0 comments on commit 16ecdd3

Please sign in to comment.