fix: export label

This commit is contained in:
pateljannat
2021-08-18 18:08:33 +05:30
parent cb60d97bb7
commit ef238c1b25
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
<div class="comment-footer mb-5">
<div class="button is-secondary pull-right" id="export-as-pdf" data-certificate="{{ certificate.name }}"
data-certificate-name="{{ student.full_name }} - {{ course.title }}">Export as PDF</div>
data-certificate-name="{{ student.full_name }} - {{ course.title }}">Export</div>
</div>
{% include "community/templates/certificate.html" %}
</div>

View File

@@ -24,6 +24,6 @@ var export_as_pdf = (e) => {
a.download = button.attr("data-certificate-name");
a.click();
}).finally(() => {
button.text(__("Export as PDF"))
button.text(__("Export"))
});
}