Changeset 31adfa5 in OpenWorkouts-current for ow/templates
- Timestamp:
- Dec 21, 2018, 11:00:25 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- fe6089a
- Parents:
- d507f75
- Location:
- ow/templates
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/templates/dashboard.pt
rd507f75 r31adfa5 38 38 <ul class="workout-info"> 39 39 <li> 40 <tal:c tal:content="workout.start "></tal:c>40 <tal:c tal:content="workout.start_in_timezone(context.timezone)"></tal:c> 41 41 </li> 42 42 <li> -
ow/templates/delete_workout.pt
rd507f75 r31adfa5 25 25 <input id="delete" name="delete" type="hidden" value="yes" /> 26 26 27 <div id="workout"> 27 <div id="workout" 28 tal:define="timezone request.root[request.authenticated_userid].timezone"> 28 29 <h3 tal:content="context.title"></h3> 29 30 <ul id="" tal:attributes="id 'workout-' + context.workout_id + '-details'"> 30 31 <li> 31 32 <tal:t i18n:translate="">Start:</tal:t> 32 <tal:c tal:content="context.start "></tal:c>33 <tal:c tal:content="context.start_in_timezone(timezone)"></tal:c> 33 34 </li> 34 35 <li> 35 36 <tal:t i18n:translate="">End:</tal:t> 36 <tal:c tal:content="context.end "></tal:c>37 <tal:c tal:content="context.end_in_timezone(timezone)"></tal:c> 37 38 </li> 38 39 <li> -
ow/templates/edit_profile.pt
rd507f75 r31adfa5 99 99 </fieldset> 100 100 101 <fieldset> 102 <p> 103 <label for="timezone" i18n:translate="">Timezone:</label> 104 <small i18n:translate=""> 105 All dates and times will be formatted for this timezone 106 </small> 107 ${form.errorlist('timezone')} 108 ${form.select('timezone', timezones)} 109 </p> 110 </fieldset> 111 101 112 <p> 102 113 ${form.submit("submit", "Save", **{'class':"button button-normal"})} -
ow/templates/workout.pt
rd507f75 r31adfa5 78 78 79 79 <ul id="" tal:attributes="id 'workout-' + context.workout_id + '-details'" 80 tal:define="hr context.hr; cad context.cad ">80 tal:define="hr context.hr; cad context.cad; timezone context.owner.timezone"> 81 81 <li> 82 82 <tal:t i18n:translate="">Start:</tal:t> 83 <tal:c tal:content="context.start "></tal:c>83 <tal:c tal:content="context.start_in_timezone(timezone)"></tal:c> 84 84 </li> 85 85 <li> 86 86 <tal:t i18n:translate="">End:</tal:t> 87 <tal:c tal:content="context.end "></tal:c>87 <tal:c tal:content="context.end_in_timezone(timezone)"></tal:c> 88 88 </li> 89 89 <li>
Note: See TracChangeset
for help on using the changeset viewer.