Changeset 723588b in OpenWorkouts-current


Ignore:
Timestamp:
Feb 26, 2019, 5:14:21 PM (4 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
520b188
Parents:
737eb6c
Message:

Fixed wrong position of the labels telling the units on distance, hr,
temperature and so on in the workout details page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    r737eb6c r723588b  
    7373            <span><tal:t i18n:translate="">Speed</tal:t></span>
    7474            <span class="avg"><tal:t i18n:translate="">Avg.</tal:t>
    75               <tal:c tal:content="round(context.speed['avg'], 1)"></tal:c>km/h</span>
     75              <tal:c tal:content="round(context.speed['avg'], 1)"></tal:c> km/h</span>
    7676            <span class="max"><tal:t i18n:translate="">Max.</tal:t>
    77               <tal:c tal:content="round(context.speed['max'], 1)"></tal:c>km/h</span>
     77              <tal:c tal:content="round(context.speed['max'], 1)"></tal:c> km/h</span>
    7878          </li>
    7979          <li tal:condition="hr">
    8080            <span><tal:t i18n:translate="">Heart Rate</tal:t></span>
    8181            <span class="avg"><tal:t i18n:translate="">Avg.</tal:t>
    82               <tal:c tal:content="hr['avg']"></tal:c>bpm</span>
     82              <tal:c tal:content="hr['avg']"></tal:c> bpm</span>
    8383            <span class="max"><tal:t i18n:translate="">Max.</tal:t>
    8484              <tal:c tal:content="hr['max']"></tal:c> bpm</span>
     
    9494            <span><tal:t i18n:translate="">Temperature</tal:t></span>
    9595            <span class="min"><tal:t i18n:translate="">Min.</tal:t>
    96               <tal:c tal:content="atemp['min']"></tal:c>℃</span>
     96              <tal:c tal:content="atemp['min']"></tal:c> ℃</span>
    9797            <span class="avg"><tal:t i18n:translate="">Avg.</tal:t>
    98               <tal:c tal:content="atemp['avg']"></tal:c>℃</span>
     98              <tal:c tal:content="atemp['avg']"></tal:c> ℃</span>
    9999            <span class="max"><tal:t i18n:translate="">Max.</tal:t>
    100               <tal:c tal:content="atemp['max']"></tal:c>℃</span>
     100              <tal:c tal:content="atemp['max']"></tal:c> ℃</span>
    101101          </li>
    102102        </ul>
Note: See TracChangeset for help on using the changeset viewer.