fix: no preview message

This commit is contained in:
Jannat Patel
2022-09-06 11:38:40 +05:30
parent 36aca1e664
commit ce7f3ffca9
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -94,8 +94,8 @@
{% elif ins_len == 2 %}
{{ instructors[0].full_name.split(" ")[0] }} and {{ instructors[1].full_name.split(" ")[0] }}
{% else %}
{% set suffix = "other" if ins_len - 2 == 1 else "others" %}
{{ instructors[0].full_name.split(" ")[0] }}, {{ instructors[1].full_name.split(" ")[0] }} and {{ ins_len - 2 }} {{ suffix }}
{% set suffix = "other" if ins_len - 1 == 1 else "others" %}
{{ instructors[0].full_name.split(" ")[0] }} and {{ ins_len - 1 }} {{ suffix }}
{% endif %}
</span>
</a>