From 62f4bba35af74b031c183be2a91527fc6ab4f5d0 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Sat, 25 Jun 2016 22:05:27 +0200 Subject: New: Show LTHR (Running) in User Profile view. --- lib/postrunner/UserProfileView.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/postrunner/UserProfileView.rb b/lib/postrunner/UserProfileView.rb index 86d4783..93b23ae 100644 --- a/lib/postrunner/UserProfileView.rb +++ b/lib/postrunner/UserProfileView.rb @@ -55,6 +55,9 @@ module PostRunner t.row([ 'Gender:', profile.gender ]) if profile.gender t.row([ 'Age:', "#{profile.age} years" ]) if profile.age t.row([ 'Max. Heart Rate:', "#{profile.max_hr} bpm" ]) if profile.max_hr + if (lthr = profile.running_lactate_threshold_heart_rate) + t.row([ 'Running LTHR:', "#{lthr} bpm" ]) + end if profile.activity_class t.row([ 'Activity Class:', profile.activity_class ]) end -- cgit v1.2.3