diff --git a/src/includes/mentor/dashboard.pug b/src/includes/mentor/dashboard.pug index e77d41539cc94a3e8f3e4d1157cdb2853bc3b452..3941aa8cb7372c69c61c305fa3a79915d9264500 100644 --- a/src/includes/mentor/dashboard.pug +++ b/src/includes/mentor/dashboard.pug @@ -79,11 +79,11 @@ section#home ) #mentor-resource-create(hidden).no-sidebar.container - sib-link(class="backlink", next="mentor-resource-list")=`${data.BackToDashboard}` + sib-link(class="backlink", next="mentor-dashboard")=`${data.BackToDashboard}` include resources/create.pug #mentor-resource-edit(hidden).no-sidebar.container - sib-link(class="backlink", next="mentor-resource-list")=`${data.BackToDashboard}` + sib-link(class="backlink", next="mentor-dashboard")=`${data.BackToDashboard}` include resources/edit.pug #resource-creation-confirmation(hidden).no-sidebar.container diff --git a/src/includes/public/dashboard.pug b/src/includes/public/dashboard.pug index 7d2ec083a18532b5b76e2aa9fc0524724c4c294a..82b9a89673fb99f1a46957c9e26c613150832332 100644 --- a/src/includes/public/dashboard.pug +++ b/src/includes/public/dashboard.pug @@ -14,8 +14,8 @@ section#home sib-router sib-route(id-prefix=`${endpoints.resources}`, name='public-resource-detail', use-id) - dialog#public-resource-detail.no-sidebar - include resources/detail.pug + dialog#public-resource-detail.no-sidebar + include resources/detail.pug #user-account-view(hidden).no-sidebar.container include profile/view.pug diff --git a/src/includes/public/resources/detail.pug b/src/includes/public/resources/detail.pug index b462b5f0d87e626ad6894513aaff8abad44f7dfc..c578ea45bea4f6b7d6be629510e3ece3dbddbecd 100644 --- a/src/includes/public/resources/detail.pug +++ b/src/includes/public/resources/detail.pug @@ -1,5 +1,5 @@ .block_log.block_creat_count.no_shadow - sib-link(class="backlink", next="public-resource-list") + sib-link(class="backlink", next="public-dashboard") .like p.backlink i.fas.fa-times