Display budget comments, etc. as Markdown

This commit is contained in:
Yingtong Li 2020-02-27 19:27:05 +11:00
parent 17637a4cfd
commit 0dc5923429
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@
{#
Society Self-Service
Copyright © 2018-2019 Yingtong Li (RunasSudo)
Copyright © 2018–2020 Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -74,7 +74,7 @@
</tr>
<tr>
<td>Comments</td>
<td>{{ revision.comments }}</td>
<td>{{ revision.comments|markdown }}</td>
</tr>
<tr>
<td>Revenue</td>
@ -87,7 +87,7 @@
Revenue comments
</div>
<div class="active content">
{{ revision.revenue_comments }}
{{ revision.revenue_comments|markdown }}
</div>
</div>
{% endif %}
@ -107,7 +107,7 @@
Expense comments
</div>
<div class="active content">
{{ revision.expense_comments }}
{{ revision.expense_comments|markdown }}
</div>
</div>
{% endif %}

View File

@ -2,7 +2,7 @@
{#
Society Self-Service
Copyright © 2018-2019 Yingtong Li (RunasSudo)
Copyright © 2018–2020 Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -110,7 +110,7 @@
</tr>
<tr>
<td>Comments</td>
<td>{{ revision.comments }}</td>
<td>{{ revision.comments|markdown }}</td>
</tr>
<tr>
<td>Revenue</td>
@ -123,7 +123,7 @@
Revenue comments
</div>
<div class="active content">
{{ revision.revenue_comments }}
{{ revision.revenue_comments|markdown }}
</div>
</div>
{% endif %}
@ -143,7 +143,7 @@
Expense comments
</div>
<div class="active content">
{{ revision.expense_comments }}
{{ revision.expense_comments|markdown }}
</div>
</div>
{% endif %}