~wxl/loco-team-portal/more-details

« back to all changes in this revision

Viewing changes to loco_directory/templates/events/team_event_detail.inc.html

  • Committer: Michael Hall
  • Date: 2012-02-07 14:36:29 UTC
  • mto: This revision was merged to the branch mainline in revision 517.
  • Revision ID: mhall119@ubuntu.com-20120207143629-7ldm4i7q8iuxsaif
Add markdown syntax support to description fields for global events, team events, meeting agendas and venues

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% load i18n %}
 
1
{% load i18n markup %}
2
2
<article class="double-side-content">
3
3
    <h2>{{team_event_object.name}}</h2>
4
4
    {% if team_event_object.description %}
5
5
        <table id="team-event-basic">
6
6
            <tr>
7
 
                <td class="form-item-value">{{ team_event_object.description|linebreaksbr|urlize }}</td>
 
7
                <td class="form-item-value">{{ team_event_object.description|markdown:'safe' }}</td>
8
8
            </tr>
9
9
        </table>
10
10
    {% endif %}