fix: circles without extensions
This commit is contained in:
parent
e6ae9d036c
commit
b6ca0c85ed
@ -14,31 +14,32 @@
|
|||||||
no-render
|
no-render
|
||||||
)
|
)
|
||||||
include partials/circle/page-circle-profile.pug
|
include partials/circle/page-circle-profile.pug
|
||||||
for extension of component.extensions
|
if component.extensions
|
||||||
if extension.type == 'events'
|
for extension of component.extensions
|
||||||
div(
|
if extension.type == 'events'
|
||||||
id=`${component.route}-events`
|
div(
|
||||||
hidden
|
id=`${component.route}-events`
|
||||||
data-view=`${component.route}-events`
|
hidden
|
||||||
no-render
|
data-view=`${component.route}-events`
|
||||||
)
|
no-render
|
||||||
include partials/circle/page-circle-events.pug
|
)
|
||||||
if extension.type == 'resources'
|
include partials/circle/page-circle-events.pug
|
||||||
div(
|
if extension.type == 'resources'
|
||||||
id=`${component.route}-resources`
|
div(
|
||||||
hidden
|
id=`${component.route}-resources`
|
||||||
data-view=`${component.route}-resources`
|
hidden
|
||||||
no-render
|
data-view=`${component.route}-resources`
|
||||||
)
|
no-render
|
||||||
include partials/circle/page-circle-resources.pug
|
)
|
||||||
if extension.type == 'polls'
|
include partials/circle/page-circle-resources.pug
|
||||||
div(
|
if extension.type == 'polls'
|
||||||
id=`${component.route}-polls`
|
div(
|
||||||
hidden
|
id=`${component.route}-polls`
|
||||||
data-view=`${component.route}-polls`
|
hidden
|
||||||
no-render
|
data-view=`${component.route}-polls`
|
||||||
)
|
no-render
|
||||||
include partials/circle/page-circle-polls.pug
|
)
|
||||||
|
include partials/circle/page-circle-polls.pug
|
||||||
|
|
||||||
nav.jsRightMenu.text-disable-selection.sidebar.whitespace-normal(role='navigation')
|
nav.jsRightMenu.text-disable-selection.sidebar.whitespace-normal(role='navigation')
|
||||||
solid-router.segment.whitespace-normal.text-color-heading.text-bold(default-route=`${component.route}-chat`)
|
solid-router.segment.whitespace-normal.text-color-heading.text-bold(default-route=`${component.route}-chat`)
|
||||||
@ -56,19 +57,20 @@ nav.jsRightMenu.text-disable-selection.sidebar.whitespace-normal(role='navigatio
|
|||||||
li.segment.full.padding-medium
|
li.segment.full.padding-medium
|
||||||
span.icon.ci-information.icon-xlarge.margin-right-medium
|
span.icon.ci-information.icon-xlarge.margin-right-medium
|
||||||
a(data-trans='circle.menuRight.information')
|
a(data-trans='circle.menuRight.information')
|
||||||
for extension of component.extensions
|
if component.extensions
|
||||||
if extension.type == 'resources'
|
for extension of component.extensions
|
||||||
solid-route.segment.full(name=`${component.route}-resources` use-id)
|
if extension.type == 'resources'
|
||||||
li.segment.full.padding-medium
|
solid-route.segment.full(name=`${component.route}-resources` use-id)
|
||||||
span.icon.ci-file.icon-xlarge.margin-right-medium
|
li.segment.full.padding-medium
|
||||||
a(data-trans='circle.menuRight.resources')
|
span.icon.ci-file.icon-xlarge.margin-right-medium
|
||||||
if extension.type == 'events'
|
a(data-trans='circle.menuRight.resources')
|
||||||
solid-route.segment.full(name=`${component.route}-events` use-id)
|
if extension.type == 'events'
|
||||||
li.segment.full.padding-medium
|
solid-route.segment.full(name=`${component.route}-events` use-id)
|
||||||
span.icon.ci-appointment.icon-xlarge.margin-right-medium
|
li.segment.full.padding-medium
|
||||||
a(data-trans='circle.menuRight.events')
|
span.icon.ci-appointment.icon-xlarge.margin-right-medium
|
||||||
if extension.type == 'polls'
|
a(data-trans='circle.menuRight.events')
|
||||||
solid-route.segment.full(name=`${component.route}-polls` use-id)
|
if extension.type == 'polls'
|
||||||
li.segment.full.padding-medium
|
solid-route.segment.full(name=`${component.route}-polls` use-id)
|
||||||
span.icon.ci-list.icon-xlarge.margin-right-medium
|
li.segment.full.padding-medium
|
||||||
a(data-trans='circle.menuRight.polls')
|
span.icon.ci-list.icon-xlarge.margin-right-medium
|
||||||
|
a(data-trans='circle.menuRight.polls')
|
||||||
|
Loading…
Reference in New Issue
Block a user