mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 22:51:37 +00:00
started adding more user flags, added user editing screen
This commit is contained in:
@@ -3,16 +3,16 @@ h2= user.name
|
||||
User Pictures
|
||||
|
||||
- if (session.user)
|
||||
- if (session.user.name === requested)
|
||||
- if (session.user.username === requested)
|
||||
h2 Private View
|
||||
div
|
||||
button.recent-link(value= encodeURIComponent(session.user.name) ) Recent workouts
|
||||
div
|
||||
button.newex-link(value="/workouts/new") Create new workout
|
||||
div
|
||||
button Placeholder1
|
||||
button.map-link(value="/users/admin/edit") Edit User
|
||||
div
|
||||
button Palceholder2
|
||||
button Placeholder2
|
||||
- else
|
||||
h2 Public View
|
||||
|
||||
|
||||
Reference in New Issue
Block a user