diff options
author | Chris Schlaeger <chris@linux.com> | 2016-06-25 22:05:27 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-06-25 22:05:27 +0200 |
commit | 62f4bba35af74b031c183be2a91527fc6ab4f5d0 (patch) | |
tree | 8248dc32157cbb5db0c993b46ffbe7ff4d0a78e0 /lib | |
parent | c3be7ffe01eb1f1697117dc7c9934e196108ee9d (diff) | |
download | postrunner-62f4bba35af74b031c183be2a91527fc6ab4f5d0.zip |
New: Show LTHR (Running) in User Profile view.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/postrunner/UserProfileView.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |