2021-04-15 19:49:06 +00:00
|
|
|
.with-sidebar.jsMobileContentSidebarControl.whitespace-normal.bg-color-white.only-on-admin(hidden)
|
2021-01-22 13:21:25 +00:00
|
|
|
.scrollbar-content.views-container.sidebar-is-closed
|
2021-02-22 20:27:58 +00:00
|
|
|
for component of components
|
2021-04-06 15:04:05 +00:00
|
|
|
if component.route
|
|
|
|
if component.type == "circles"
|
|
|
|
div(
|
|
|
|
id=`admin-${component.route}`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
- var page = 'join';
|
|
|
|
include partials/admin/page-admin-circles-join.pug
|
|
|
|
div.text-disable-selection(
|
|
|
|
id=`admin-${component.route}-leave`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}-leave`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
- var page = 'leave';
|
|
|
|
include partials/admin/page-admin-circles-leave.pug
|
|
|
|
div.text-disable-selection(
|
|
|
|
id=`admin-${component.route}-create`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}-create`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
include partials/admin/page-admin-circles-create.pug
|
|
|
|
if component.type == "projects"
|
|
|
|
div(
|
|
|
|
id=`admin-${component.route}`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
include partials/admin/page-admin-projects.pug
|
|
|
|
div(
|
|
|
|
id=`admin-${component.route}-create`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}-create`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
include partials/admin/page-admin-projects-create.pug
|
|
|
|
if component.type == "chat" && componentSet.has('communities')
|
|
|
|
div(
|
|
|
|
id=`admin-${component.route}`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
include partials/admin/page-admin-chat.pug
|
|
|
|
div(
|
|
|
|
id=`admin-${component.route}-create`
|
|
|
|
hidden
|
|
|
|
data-view=`admin-${component.route}-create`
|
|
|
|
no-render
|
|
|
|
)
|
|
|
|
include partials/admin/page-admin-chat-create.pug
|
2021-02-22 20:27:58 +00:00
|
|
|
|
2021-04-15 11:13:48 +00:00
|
|
|
nav.jsRightMenu.segment.sm-hidden.text-disable-selection.sidebar.whitespace-normal(role='navigation')
|
2021-01-22 13:21:25 +00:00
|
|
|
.segment.whitespace-normal.text-color-heading.text-bold
|
|
|
|
ul
|
2021-04-19 14:18:24 +00:00
|
|
|
li.segment.full.sm-hidden.padding-small.text-normal.border-bottom.border-color-grey.jsOffsiteToggle
|
2021-01-22 13:50:03 +00:00
|
|
|
span.icon.icon-arrow-left.icon-xsmall.margin-left-xxsmall.text-left
|
2021-01-23 14:42:09 +00:00
|
|
|
span.segment.full.text-right(hidden)
|
2021-01-22 13:50:03 +00:00
|
|
|
span.icon.icon-arrow-right.icon-xsmall.margin-right-xxsmall
|
|
|
|
a(data-trans='admin.menuRight.fold')
|
2021-02-22 20:27:58 +00:00
|
|
|
for component of components
|
2021-04-06 15:04:05 +00:00
|
|
|
if component.route
|
|
|
|
if component.type == "circles"
|
|
|
|
solid-link.segment.full(next=`admin-${component.route}`)
|
2021-04-19 14:18:24 +00:00
|
|
|
li.segment.full.padding-medium.border-bottom.border-color-grey
|
|
|
|
span.icon.icon-globe.icon-large.margin-right-medium
|
|
|
|
a.text-baseline(data-trans='admin.menuRight.circles')
|
2021-04-06 15:04:05 +00:00
|
|
|
if component.type == "projects"
|
|
|
|
solid-link.segment.full(next=`admin-${component.route}`)
|
2021-04-19 14:18:24 +00:00
|
|
|
li.segment.full.padding-medium.border-bottom.border-color-grey
|
|
|
|
span.icon.icon-folder-alt.icon-large.margin-right-medium
|
|
|
|
a.text-baseline(data-trans='admin.menuRight.projects')
|
2021-04-06 15:04:05 +00:00
|
|
|
if component.type == "chat"
|
|
|
|
solid-link.segment.full(next=`admin-${component.route}`)
|
2021-04-19 14:18:24 +00:00
|
|
|
li.segment.full.padding-medium.border-bottom.border-color-grey
|
|
|
|
span.icon.icon-grid.icon-large.margin-right-medium
|
|
|
|
a.text-baseline(data-trans='admin.menuRight.community')
|