From 67697ab03dd1aa92662a1611ea3caa2f91bf6644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20Morin?= Date: Thu, 24 Oct 2019 11:21:35 +0200 Subject: [PATCH] route for edit ok --- src/index.pug | 1 + src/menu-left.pug | 2 +- src/page-circle-edit.pug | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.pug b/src/index.pug index 2752f66..d903a37 100644 --- a/src/index.pug +++ b/src/index.pug @@ -36,6 +36,7 @@ html(lang="en") include page-circle.pug #circle-edit(hidden).no-sidebar + sib-link(class="backlink", bind-resources) Back include page-circle-edit.pug #messages(hidden).with-sidebar diff --git a/src/menu-left.pug b/src/menu-left.pug index 327780b..71a8de7 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -77,7 +77,7 @@ nav#main__menu order-by='username' next='messages' ) - sib-route(hidden, name='circle-edit') + sib-route(hidden, name='circle-edit', use-id) //- div.divider //- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='') diff --git a/src/page-circle-edit.pug b/src/page-circle-edit.pug index 73a9f43..bedbed6 100644 --- a/src/page-circle-edit.pug +++ b/src/page-circle-edit.pug @@ -1,4 +1,4 @@ -#circle-edit.content-box.with-padding.with-form.full-width +#circle-edit.content-box.with-padding.with-form include templates/hd-user-avatar.pug