Skip to content

Commit

Permalink
Merge pull request #413 from freezingsaddles/bugfix/view-person
Browse files Browse the repository at this point in the history
fix view person
  • Loading branch information
merlinorg authored Jan 18, 2025
2 parents 536ca1c + 0a847b1 commit 36738aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion freezing/web/templates/people/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h5 class="ps-2">
<li class="list-group-item">
Average Ride Today: <span class="float-end">
{% if data.todayrides > 0 %}
{{ (data.todaytotal / data.todayrides) | round(2) }}
{{ (data.todaydist / data.todayrides) | round(2) }}
{% else %}
N/A
{% endif %}
Expand Down
1 change: 0 additions & 1 deletion freezing/web/views/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def people_show_person(user_id):

tribal_groups = load_tribes()
my_tribes = query_tribes(user_id)
print(my_tribes)

return render_template(
"people/show.html",
Expand Down

0 comments on commit 36738aa

Please sign in to comment.