Changeset 6edc367 in OpenWorkouts-current for ow/templates/update_workout_from_file.pt


Ignore:
Timestamp:
Feb 8, 2019, 5:20:26 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
4226ce0
Parents:
2a71053 (diff), 55470f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'feature/ui' of ssh://openworkouts/home/repos/git/OpenWorkouts-current into feature/ui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/update_workout_from_file.pt

    r2a71053 r6edc367  
    2727      ${form.csrf_token()}
    2828
     29      <h2 tal:content="context.title"></h2>
     30
    2931      <div tal:condition="context.has_tracking_file"
    3032           i18n:translate="">
    31         <h2>Existing
    32         <tal:filetype i18n:name="filetype"
    33                       tal:content="context.tracking_filetype"></tal:filetype>
    34         tracking file data</h2>
    35         <p>
    36           <tal:data i18n:name="start"
    37                   tal:content="context.start"></tal:data>
    38         </p>
    39         <p>
    40           <tal:data i18n:name="end"
    41                   tal:content="context.end"></tal:data>
    42         </p>
    43         <p>
    44           <tal:data i18n:name="distance"
    45                   tal:content="context.distance"></tal:data> kms
    46         </p>
     33
     34        <h3>Existing
     35          <tal:filetype i18n:name="filetype"
     36                        tal:content="context.tracking_filetype"></tal:filetype>
     37          tracking file data</h3>
     38
     39        <ul class="workout-activity-summary" id=""
     40            tal:attributes="id 'workout-' + context.workout_id + '-details'"
     41            tal:define="timezone request.root[request.authenticated_userid].timezone">
     42          <li>
     43            <tal:t i18n:translate="">Start:</tal:t>
     44            <tal:c tal:content="context.start_in_timezone(timezone)"></tal:c>
     45          </li>
     46          <li>
     47            <tal:t i18n:translate="">Duration:</tal:t>
     48            <tal:c tal:content="context._duration"></tal:c>
     49          </li>
     50          <li>
     51            <tal:t i18n:translate="">Distance:</tal:t>
     52            <tal:c tal:content="context.rounded_distance"></tal:c>
     53          </li>
     54        </ul>
     55        <div id="" tal:content="context.notes"
     56             tal:attributes="id 'workout-' + context.workout_id + '-notes'">
     57        </div>
    4758      </div>
    4859
Note: See TracChangeset for help on using the changeset viewer.