Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Orbit
Commits
a7a5555a
Verified
Commit
a7a5555a
authored
5 years ago
by
Jean-Baptiste Pasquier
Browse files
Options
Downloads
Patches
Plain Diff
fix: resolve
#311
parent
2a428210
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/page-circle-edit.pug
+27
-27
27 additions, 27 deletions
src/page-circle-edit.pug
src/page-circle-profile.pug
+1
-1
1 addition, 1 deletion
src/page-circle-profile.pug
with
28 additions
and
28 deletions
src/page-circle-edit.pug
+
27
−
27
View file @
a7a5555a
...
@@ -38,45 +38,45 @@ div.content-box__info
...
@@ -38,45 +38,45 @@ div.content-box__info
sib-link(class="backlink", bind-resources, next='circle-profile') Back
sib-link(class="backlink", bind-resources, next='circle-profile') Back
h1 Edit your circle
sib-ac-checker(permission='acl:Write', bind-resources)
h1 Edit your circle
sib-form.block.circle-edit-form(
sib-form.block.circle-edit-form(
bind-resources
bind-resources
fields='block-circle__info(name, owner), description'
fields='block-circle__info(name, owner), description'
range-owner=`${endpoints.users}`
range-owner=`${endpoints.users}`
label-owner='owner'
label-owner='owner'
label-description='circle subtitle'
label-description='circle subtitle'
class-name='form-label is-light is-half-width'
class-name='form-label is-light is-half-width'
class-owner='form-label is-light is-half-width member-select color'
class-owner='form-label is-light is-half-width member-select color'
class-description='form-label is-light is-full-width'
class-description='form-label is-light is-full-width'
widget-owner='sib-form-auto-completion'
widget-owner='sib-form-auto-completion'
partial=''
partial=''
submit-button='Save'
submit-button='Save'
next='circle-information'
next='circle-information'
)
)
h2 Members list
h2 Members list
//- TODO: sib-ac-checker unworking - https://git.happy-dev.fr/startinblox/framework/sib-core/issues/517
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='team')
//- sib-ac-checker(permission='acl:Write', bind-resources, nested-field='team')
sib-form.block.team-form(
sib-form.block.team-form(
bind-resources
bind-resources
nested-field='members'
nested-field='members'
fields='user'
fields='user'
range-user=`${endpoints.users}`
range-user=`${endpoints.users}`
class-user='team form-label is-dark'
class-user='team form-label is-dark'
label-user=''
label-user=''
widget-user='sib-form-auto-completion'
widget-user='sib-form-auto-completion'
submit-button='Add a member'
submit-button='Add a member'
)
)
.table
.table
...
...
This diff is collapsed.
Click to expand it.
src/page-circle-profile.pug
+
1
−
1
View file @
a7a5555a
...
@@ -15,7 +15,7 @@ sib-router(default-route='circle-profile', hidden)
...
@@ -15,7 +15,7 @@ sib-router(default-route='circle-profile', hidden)
widget-creationDate='sib-display-date'
widget-creationDate='sib-display-date'
)
)
sib-ac-checker.testblock.circle-edit-button(permission='acl:
Write
', bind-resources)
sib-ac-checker.testblock.circle-edit-button(permission='acl:
Append
', bind-resources
, nested-field='members'
)
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Edit and add Members
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Edit and add Members
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment