Changeset ded7d95 in OpenWorkouts-current


Ignore:
Timestamp:
Feb 5, 2019, 6:49:42 PM (4 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
0b6c6fc
Parents:
688fb7d
Message:

Split the description/notes of the workout into several paragraphs if needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    r688fb7d rded7d95  
    3232      <div class="workout-detail-resume">
    3333        <h3 tal:content="context.title"></h3>
    34         <div id="" tal:content="context.notes"
    35              tal:attributes="id 'workout-' + context.workout_id + '-notes'">
     34        <div id="" tal:attributes="id 'workout-' + context.workout_id + '-notes'">
     35          <p tal:repeat="paragraph context.notes.split('\n')"
     36             tal:content="paragraph"></p>
    3637        </div>
    3738        <ul class="workout-options">
Note: See TracChangeset for help on using the changeset viewer.