Skip to content
Snippets Groups Projects
Commit bbe54087 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Adding proper resources creation confirmation screen

parent 94728cc8
No related branches found
No related tags found
1 merge request!4Feature/editing a resource
...@@ -9,4 +9,6 @@ sib-router(default-route='mentor-resource-list') ...@@ -9,4 +9,6 @@ sib-router(default-route='mentor-resource-list')
div.menu-icon.icon-people div.menu-icon.icon-people
div.divider div.divider
sib-ac-checker(permission="acl:Write" bind-resources) sib-ac-checker(permission="acl:Write" bind-resources)
sib-route(id-prefix=`${endpoints.resources}`, name='mentor-resource-edit', use-id) sib-route(id-prefix=`${endpoints.resources}`, name='mentor-resource-edit', use-id)
\ No newline at end of file sib-route(name='resource-creation-confirmation')
sib-route(name='mentor-resource-detail')
\ No newline at end of file
...@@ -11,8 +11,6 @@ header#header(role='banner') ...@@ -11,8 +11,6 @@ header#header(role='banner')
include ./components/header.pug include ./components/header.pug
section#home section#home
h1 Mentorship program
#mentor-resource-list(hidden).no-sidebar #mentor-resource-list(hidden).no-sidebar
include resources/list.pug include resources/list.pug
...@@ -21,9 +19,16 @@ section#home ...@@ -21,9 +19,16 @@ section#home
include resources/create.pug include resources/create.pug
#mentor-resource-edit(hidden).no-sidebar #mentor-resource-edit(hidden).no-sidebar
sib-link(class="backlink", next="mentor-resource-list") Back to the resources list sib-link(class="backlink", next="mentor-resource-detail") Back to the resources list
include resources/edit.pug include resources/edit.pug
#mentor-resource-validate(hidden).no-sidebar #mentor-resource-validate(hidden).no-sidebar
sib-link(class="backlink", next="mentor-resource-list") Back to the resources list sib-link(class="backlink", next="mentor-resource-list") Back to the resources list
include resources/validate.pug include resources/validate.pug
\ No newline at end of file
#resource-creation-confirmation(hidden).no-sidebar
include resources/confirmation.pug
#mentor-resource-detail(hidden).no-sidebar
sib-link(class="backlink", next="mentor-resource-list") Back to the resources list
include resources/detail.pug
\ No newline at end of file
h2 Post a resource
p Thank you for enriching our database !
p Once one of your pair, a fellow mentor, validate your resource, it will be published online and we will send you a notification.
sib-link(next="resource-validation-process") What is the validation process ?
h3
sib-link(next='mentor-resource-list') -> Back to dashboard
\ No newline at end of file
...@@ -76,5 +76,5 @@ sib-form( ...@@ -76,5 +76,5 @@ sib-form(
widget-publication_year='sib-form-number' widget-publication_year='sib-form-number'
submit-button='Send for validation ->' submit-button='Send for validation ->'
next="mentor-resource-list" next="resource-creation-confirmation"
) )
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment