Merge lp:~cjohnston/loco-team-portal/1019664 into lp:loco-team-portal

Proposed by Chris Johnston
Status: Merged
Approved by: Adnane Belmadiaf
Approved revision: 540
Merged at revision: 541
Proposed branch: lp:~cjohnston/loco-team-portal/1019664
Merge into: lp:loco-team-portal
Diff against target: 25 lines (+2/-2)
2 files modified
loco_directory/templates/events/team_event_detail.inc.html (+1/-1)
loco_directory/templates/events/team_event_detail_comments.inc.html (+1/-1)
To merge this branch: bzr merge lp:~cjohnston/loco-team-portal/1019664
Reviewer Review Type Date Requested Status
LoCo Team Portal Developers Pending
Review via email: mp+112918@code.launchpad.net

Commit message

Makes event details page respect newlines

To post a comment you must log in.
Revision history for this message
Adnane Belmadiaf (daker) wrote :

Approve.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/templates/events/team_event_detail.inc.html'
2--- loco_directory/templates/events/team_event_detail.inc.html 2012-06-30 19:19:08 +0000
3+++ loco_directory/templates/events/team_event_detail.inc.html 2012-06-30 23:43:19 +0000
4@@ -5,7 +5,7 @@
5 {% if team_event_object.description %}
6 <table id="team-event-basic">
7 <tr>
8- <td class="form-item-value">{{ team_event_object.description|markdown:'safe' }}</td>
9+ <td class="form-item-value">{{ team_event_object.description|markdown:'safe'|linebreaks }}</td>
10 </tr>
11 </table>
12 {% endif %}
13
14=== modified file 'loco_directory/templates/events/team_event_detail_comments.inc.html'
15--- loco_directory/templates/events/team_event_detail_comments.inc.html 2012-04-14 22:10:09 +0000
16+++ loco_directory/templates/events/team_event_detail_comments.inc.html 2012-06-30 23:43:19 +0000
17@@ -9,7 +9,7 @@
18 {% for comment in comment_date.list %}
19 <tr>
20 <th class="form-item-label" scope="row"><a href="https://launchpad.net/~{{comment.commenter_profile.user.username}}">{{comment.commenter_profile.realname}}</a>:</th>
21- <td class="form-item-value">{{comment.comment}}</td>
22+ <td class="form-item-value">{{comment.comment|linebreaks}}</td>
23 </tr>
24 {% endfor %}
25 {% endfor %}

Subscribers

People subscribed via source and target branches