fix: profile urls

This commit is contained in:
pateljannat
2021-08-19 09:35:02 +05:30
parent 7bf254319b
commit e31b189045
10 changed files with 13 additions and 41 deletions

View File

@@ -13,10 +13,12 @@
<a class="dark-links" href="/courses/{{ course.name }}">{{ course.title }}</a>
</div>
{% if certificate.student == frappe.session.user %}
<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</div>
</div>
{% endif %}
{% include "community/templates/certificate.html" %}
</div>
</div>

View File

@@ -67,4 +67,4 @@
})
</script>
{% endblock %}
{% endblock %}