Merge branch 'feature/resource-component' of https://git.startinblox.com/applications/hubl into feature/resource-component

This commit is contained in:
Marjolaine Le Bon 2020-07-09 17:52:15 +02:00
commit 443298e074
4 changed files with 24 additions and 1 deletions

View File

@ -87,7 +87,7 @@ On `config.json`:
Where:
* `xmpp` is your Prosody with [appropriate modules](https://git.startinblox.com/infra/prosody-modules/) configured on.
* `xmpp` is your [Prosody](https://prosody.im/) with [appropriate modules](https://git.startinblox.com/infra/prosody-modules/) configured on.
* `authority` is the OpenID Provider. Usually, if you use `djangoldp-account` it's the same as your djangoldp server.
* `endpoints.users` is the API endpoints for Users on your djangoldp server.

View File

@ -16,6 +16,10 @@
include views/circle/page-circle-chat.pug
#circle-information.content-box__height(hidden)
include views/circle/page-circle-profile.pug
#circle-events(hidden)
include views/circle/page-circle-events.pug
#circle-resources(hidden)
include views/circle/page-circle-resources.pug
nav.jsRightMenu(role='navigation')
solid-router(default-route='circle-chat')
@ -28,3 +32,10 @@ nav.jsRightMenu(role='navigation')
solid-route(name='circle-information')
li
a Information
sib-route(name='circle-events' use-id)
li
a Events
sib-route(name='circle-resources' use-id)
li
a Resources

View File

@ -0,0 +1,6 @@
sib-display(
class='w700'
bind-resources
nested-field="events"
fields='name, shortDescription, startDate'
)

View File

@ -0,0 +1,6 @@
sib-display(
class='w700'
bind-resources
nested-field="resources"
fields='name, shortdesc, keywords'
)