fix: profile, dashboard and tests

This commit is contained in:
Jannat Patel
2022-09-05 13:32:51 +05:30
parent 7ef625c598
commit e84e02ff07
8 changed files with 68 additions and 46 deletions

View File

@@ -58,7 +58,7 @@
{% if frappe.session.user == member.email %}
<div class="ml-auto mt-1">
<a class="btn btn-secondary btn-sm" href="/dashboard"> {{ _("Visit Dashboard") }} </a>
<a class="btn btn-secondary btn-sm ml-2" href="/edit-profile?name={{ member.email }}"> {{ _("Edit Profile") }} </a>
<a class="btn btn-secondary btn-sm ml-2" href="/edit-profile/{{ member.email }}"> {{ _("Edit Profile") }} </a>
</div>
{% endif %}
</div>