Allow user page and popup customizations by overloading the view template in the containing app
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
/ empty, to be used by panda implementing applications for custom magick that cannot be known by this generalized application
|
||||||
@@ -5,6 +5,7 @@ table.ui.compact.definition.table
|
|||||||
tr
|
tr
|
||||||
td= t 'models.plural.organization'
|
td= t 'models.plural.organization'
|
||||||
td= ui-multi-select options=possible_organizations labelProperty='name' selected=selected_organizations
|
td= ui-multi-select options=possible_organizations labelProperty='name' selected=selected_organizations
|
||||||
|
= partial 'user/edit-user-addition-overload'
|
||||||
.modal-actions.sticky
|
.modal-actions.sticky
|
||||||
button.ui.primary.button.modal-save.pull-right{action 'saveRecord'}= t 'general.save'
|
button.ui.primary.button.modal-save.pull-right{action 'saveRecord'}= t 'general.save'
|
||||||
button.ui.negative.button.modal-destroy.pull-right{action 'destroyRecord'}= t 'general.destroy.button'
|
button.ui.negative.button.modal-destroy.pull-right{action 'destroyRecord'}= t 'general.destroy.button'
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
= user-main-statistics1 user=model
|
||||||
|
br
|
||||||
|
br
|
||||||
@@ -20,9 +20,7 @@ d-breadcrumbs as |breadcrumb|
|
|||||||
td= t 'attributes.user.email'
|
td= t 'attributes.user.email'
|
||||||
td= model.email
|
td= model.email
|
||||||
br
|
br
|
||||||
= user-main-statistics1 user=model
|
= partial 'user/show-user-addition-overload'
|
||||||
br
|
|
||||||
br
|
|
||||||
|
|
||||||
/ disable authorizations
|
/ disable authorizations
|
||||||
/if (can 'manage' 'model' 'user')
|
/if (can 'manage' 'model' 'user')
|
||||||
|
|||||||
Reference in New Issue
Block a user