Tweak formatting of comment emails

This commit is contained in:
Yingtong Li 2020-08-28 11:27:31 +10:00
parent b7d6d0c5d4
commit 4aef60b99b
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
3 changed files with 6 additions and 6 deletions

View File

@ -1091,6 +1091,10 @@
text-align: center;
}
.quote {
margin-left: 16px !important;
}
{% block css %}{% endblock %}
</style>

View File

@ -1,7 +1,5 @@
{{ comment.author.first_name }} {{ comment.author.last_name }} made a new comment on the budget *{{ revision.name }}* (BU-{{ revision.budget.id }}):
```
{{ comment.content }}
```
{% if format == 'markdown' %}<div class="quote">{{ comment.content|markdown }}</div>{% else %}{{ comment.content }}{% endif %}
{{ baseurl }}{{ url('budget_view', kwargs={'id': revision.budget.id}) }}

View File

@ -1,7 +1,5 @@
{{ comment.author.first_name }} {{ comment.author.last_name }} made a new comment on the reimbursement claim *{{ claim.purpose }}* (RE-{{ claim.id }}):
```
{{ comment.content }}
```
{% if format == 'markdown' %}<div class="quote">{{ comment.content|markdown }}</div>{% else %}{{ comment.content }}{% endif %}
{{ baseurl }}{{ url('claim_view', kwargs={'id': claim.id}) }}