@@ -269,26 +269,26 @@ <h2 class="govuk-heading-l">Design process stages</h2>
269
269
< hr class ="govuk-section-break govuk-section-break--m govuk-section-break--visible ">
270
270
< section id ="notes ">
271
271
< h2 class ="govuk-heading-l "> Notes</ h2 >
272
- < ul class ="govuk-list govuk-list--bullet govuk-list--spaced ">
272
+ < a href ="{{ url_for('planning_consideration.add_note', slug=consideration.slug)}} " class ="govuk-button govuk-button--secondary "> < i class ="app-icon "> +</ i > Add note</ a >
273
+ < ul class ="govuk-list govuk-list--spaced ">
273
274
{% for note in consideration.notes %}
274
275
{% if not note.deleted_date %}
275
276
< li >
276
- < p > {{ note.text }}</ p >
277
- < span class ="govuk-!-font-size-14 " > author: {{ note.author }}</ span >
278
- < span class ="govuk-!-font-size-14 " > added: {{ note.created }} </ span >
279
- < br >
280
- < span class ="govuk-!-font-size-14 " >
281
- < a href =" {{ url_for('planning_consideration.edit_note', slug=consideration.slug, note_id=note.id )}} " class =" govuk-link " > Edit < span class =" govuk-visually-hidden " > note < /span > </ a >
282
- </ span >
283
- < span class ="govuk-!-font-size-14 " >
284
- < a href =" {{ url_for('planning_consideration.delete_note', slug=consideration.slug, note_id=note.id )}} " class ="govuk-link
285
- app-destructive-link " > Remove < span class =" govuk-visually-hidden " > note < /span > </ a >
286
- </ span >
277
+ < span class =" govuk-!-font-size-14 " > {{ note.author }} (created: {{ note.created }}) </ span >
278
+ < div class ="app-note__content " > {{ note.text|render_markdown }}</ div >
279
+ < div class ="app-note__actions " >
280
+ < span class =" govuk-!-font-size-14 " >
281
+ < a href =" {{ url_for('planning_consideration.edit_note', slug=consideration.slug, note_id=note.id )}} " class =" govuk-link " > Edit < span class ="govuk-visually-hidden " > note </ span > </ a >
282
+ </ span >
283
+ < span class =" govuk-!-font-size-14 " >
284
+ < a href =" {{ url_for('planning_consideration.delete_note', slug=consideration.slug, note_id=note.id )}} " class ="govuk-link
285
+ app-destructive-link " > Remove < span class ="govuk-visually-hidden " > note </ span > </ a >
286
+ < /span >
287
+ </ div >
287
288
</ li >
288
289
{% endif %}
289
290
{% endfor %}
290
291
</ ul >
291
- < a href ="{{ url_for('planning_consideration.add_note', slug=consideration.slug)}} " class ="govuk-button govuk-button--secondary "> < i class ="app-icon "> +</ i > Add note</ a >
292
292
</ section >
293
293
{% endif %}
294
294
0 commit comments