render messages as markdown
This commit is contained in:
parent
0a1ac95ef4
commit
65de4ed8d1
|
@ -1,8 +1,10 @@
|
||||||
|
{% load proposals_tags %}
|
||||||
|
|
||||||
<div class="panel panel-{% block panelstyleblock %}default{% endblock %}">
|
<div class="panel panel-{% block panelstyleblock %}default{% endblock %}">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
{{ message.created }} | <a href="{% url 'show-speaker' message.author.username %}">{{ message.author.profile }}</a>
|
{{ message.created }} | <a href="{% url 'show-speaker' message.author.username %}">{{ message.author.profile }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{{ message.content|linebreaksbr }}
|
{% markdown message.content %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{ content|linebreaksbr }}
|
{% load proposals_tags %}{% markdown content %}
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
{% if answering %}
|
{% if answering %}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
Hi!<br />
|
{% load proposals_tags %}Hi!<br />
|
||||||
<br />
|
<br />
|
||||||
A <a href="https://{{ uri }}">new {{ talk.event }}</a> has been proposed by <a href="https://{{ proposer_uri }}">{{ proposer.profile }}</a>!<br />
|
A <a href="https://{{ uri }}">new {{ talk.event }}</a> has been proposed by <a href="https://{{ proposer_uri }}">{{ proposer.profile }}</a>!<br />
|
||||||
<br />
|
<br />
|
||||||
Title: {{ talk.title }}<br />
|
Title: {{ talk.title }}<br />
|
||||||
<br />
|
<br />
|
||||||
Description:<br />
|
Description:<br />
|
||||||
<p>{{ talk.description|linebreaksbr }}</p>
|
<p>{% markdown talk.description %}</p>
|
||||||
{% if answering %}
|
{% if answering %}
|
||||||
<hr>
|
<hr>
|
||||||
Reply to this email directly to comment this talk.{% endif %}
|
Reply to this email directly to comment this talk.{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user