Merge pull request #461 from NagariaHussain/fix-meta

This commit is contained in:
Jannat Patel
2023-01-03 18:49:52 +05:30
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -27,4 +27,7 @@ frappe.ui.form.on("LMS Course", {
};
});
},
refresh: (frm) => {
frm.add_web_link(`/courses/${frm.doc.name}`, "View in Website");
},
});

View File

@@ -1,5 +1,8 @@
{% extends "templates/base.html" %}
{% block meta_block %}
{% include "templates/includes/meta_block.html" %}
{% endblock %}
{% block content %}
{% include "public/icons/symbol-defs.svg" %}