fix: show email button only to moderators

This commit is contained in:
Jannat Patel
2023-10-05 16:24:11 +05:30
parent 6c4d3ea37e
commit c9cda6c6f5

View File

@@ -75,11 +75,13 @@
</div>
</div>
{% if is_moderator %}
<div class="mt-4">
<button class="btn btn-secondary btn-sm btn-email">
{{ _("Email to Students") }}
</button>
</div>
{% endif %}
{% if batch_info.custom_component %}
<div class="mt-4">