fix: export label
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"))
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user