Merge branch 'develop' into 'master'

Fix newlines in comments and sort filter values

See merge request vtmk/web2.0!79
This commit is contained in:
Jan Tuomi
2017-10-23 15:51:32 +03:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="card" style="margin-top: 0.5rem; margin-bottom: 0">
<div class="card-block">
<h4>{{ message.name }}</h4>
<p>{{ message.message }}</p>
<p>{{ message.message|linebreaks }}</p>
<h6 class="card-subtitle mb-2 text-muted">{{ message.timestamp }}</h6>
<div>
+1
View File
@@ -240,6 +240,7 @@ def kaehmy_list_view(request, *args, **kwargs):
filter_options_custom_list = [(r.id, r.name, r.form_count) for r in filter_options_custom]
filter_options = filter_options_preset_list + filter_options_custom_list
filter_options.sort(key=lambda f: f[1])
context = {
'applications': applications,