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
|
||||
td= t 'models.plural.organization'
|
||||
td= ui-multi-select options=possible_organizations labelProperty='name' selected=selected_organizations
|
||||
= partial 'user/edit-user-addition-overload'
|
||||
.modal-actions.sticky
|
||||
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'
|
||||
|
||||
@@ -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= model.email
|
||||
br
|
||||
= user-main-statistics1 user=model
|
||||
br
|
||||
br
|
||||
= partial 'user/show-user-addition-overload'
|
||||
|
||||
/ disable authorizations
|
||||
/if (can 'manage' 'model' 'user')
|
||||
|
||||
Reference in New Issue
Block a user