Changeset e3d7b13 in OpenWorkouts-current for ow/templates


Ignore:
Timestamp:
Jan 7, 2019, 12:46:07 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
53bb3e5
Parents:
64e8299
Message:

Show temperatures in the workout details page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    r64e8299 re3d7b13  
    7878
    7979      <ul id="" tal:attributes="id 'workout-' + context.workout_id + '-details'"
    80           tal:define="hr context.hr; cad context.cad; timezone context.owner.timezone">
     80          tal:define="hr context.hr; cad context.cad; atemp context.atemp; timezone context.owner.timezone">
    8181        <li>
    8282          <tal:t i18n:translate="">Start:</tal:t>
     
    114114          <tal:c tal:content="cad['max']"></tal:c>
    115115        </li>
     116        <li tal:condition="atemp">
     117          <tal:t i18n:translate="">Temperature:</tal:t>
     118          <tal:t i18n:translate="">Min.</tal:t>
     119          <tal:c tal:content="atemp['min']"></tal:c> |
     120          <tal:t i18n:translate="">Avg.</tal:t>
     121          <tal:c tal:content="atemp['avg']"></tal:c> |
     122          <tal:t i18n:translate="">Max.</tal:t>
     123          <tal:c tal:content="atemp['max']"></tal:c>
     124        </li>
     125
    116126      </ul>
    117127      <div id="" tal:content="context.notes"
Note: See TracChangeset for help on using the changeset viewer.