add TP to export logos
This commit is contained in:
@@ -128,6 +128,24 @@
|
||||
<img src="/static/img/uachecked.png" alt="Underarmour icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if workout.uploadedtotp == 0 %}
|
||||
{% if user.rower.tptoken == None or user.rower.tptoken == '' %}
|
||||
<div class="grid_1">
|
||||
<a href="/rowers/me/tpauthorize">
|
||||
<img src="/static/img/tpgray.png" alt="TrainingPeaks icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="grid_1">
|
||||
<a href="/rowers/workout/{{ workout.id }}/tpuploadw"><img src="/static/img/tpicon.png" alt="Tp icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="grid_1">
|
||||
<a href="https://app.sandbox.trainingpeaks.com">
|
||||
<img src="/static/img/tpchecked.png" alt="TrainingPeaks icon" width="60" height="60"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user