update: simplify dom for circles
This commit is contained in:
parent
c50e05530e
commit
4aa69a1605
@ -1,11 +1,4 @@
|
||||
.content-box.full-width
|
||||
sib-display.content-box__header(
|
||||
bind-resources
|
||||
fields='name'
|
||||
|
||||
class-name='name'
|
||||
)
|
||||
.chat-view
|
||||
.chat-view
|
||||
sib-chat(
|
||||
data-authentication='login',
|
||||
data-auto-login='true',
|
||||
|
@ -1,22 +1,10 @@
|
||||
.content-box.full-width.with-form
|
||||
sib-router(default-route='circle-profile')
|
||||
sib-router(default-route='circle-profile')
|
||||
sib-route(name='circle-profile')
|
||||
sib-route(name='circle-edit')
|
||||
|
||||
#circle-profile(hidden)
|
||||
#circle-profile(hidden)
|
||||
include templates/hd-circle-team.pug
|
||||
|
||||
div.content-box__header.with-edit
|
||||
sib-ac-checker(permission='acl:Read', bind-resources)
|
||||
sib-display(
|
||||
bind-resources
|
||||
fields='name, description'
|
||||
|
||||
class-name='name'
|
||||
class-description='description'
|
||||
)
|
||||
|
||||
sib-ac-checker.content-box__info(permission='acl:Read', bind-resources)
|
||||
.content-box__info
|
||||
sib-ac-checker.circle-edit-button(permission='acl:Write', bind-resources)
|
||||
sib-link(class="right-btn", next="circle-edit", bind-resources) Edit and add Members
|
||||
|
||||
@ -95,5 +83,5 @@
|
||||
)
|
||||
|
||||
|
||||
#circle-edit(hidden)
|
||||
#circle-edit(hidden)
|
||||
include page-circle-edit.pug
|
||||
|
@ -1,10 +1,21 @@
|
||||
.views-container
|
||||
.content-box.full-width.with-form
|
||||
div.content-box__header.with-edit
|
||||
sib-ac-checker(permission='acl:Read', bind-resources)
|
||||
sib-display(
|
||||
bind-resources
|
||||
fields='name, description'
|
||||
|
||||
class-name='name'
|
||||
class-description='description'
|
||||
)
|
||||
div.content-box__info
|
||||
sib-ac-checker(permission='acl:Read', bind-resources)
|
||||
#circle-chat(hidden)
|
||||
include page-circle-chat.pug
|
||||
#circle-information(hidden)
|
||||
include page-circle-profile.pug
|
||||
//-#circle-create
|
||||
include page-circle-create.pug
|
||||
|
||||
nav.jsRightMenu(role='navigation')
|
||||
sib-router(default-route='circle-chat')
|
||||
ul
|
||||
|
Loading…
Reference in New Issue
Block a user