Private
Public Access
1
0

added kfit and kfatigue to profile page

This commit is contained in:
Sander Roosendaal
2020-12-02 11:56:40 +01:00
parent 83e086056f
commit fe96b619e1
5 changed files with 36 additions and 20 deletions

View File

@@ -28,7 +28,7 @@
console.log(data);
// var parsedJSON = $.parseJSON(data); //
$("#id_script").replaceWith('<div id="id_script">'+data.script+'</d'+'iv>');
$("#id_chart").replaceWith('<div id="id_chart">'+data.div+'/d'+'iv>');
$("#id_chart").replaceWith('<div id="id_chart">'+data.div+'</d'+'iv>');
console.log('done');
}
});
@@ -109,6 +109,12 @@
on the left. The model balances out after a few weeks of regular training, so don't
make this chart shorter than a few months.
</p>
<p>
The time constants used in generating this performance chart were
a fitness decay constant of {{ rower.kfit }} days
and a fatigue decay constant of {{ rower.kfatigue }} days.
You can change these values in your <a href="/rowers/me/preferences/">Profile Settings</a>.
</p>
</li>
</ul>