STYLE Hiding useless widget on dashboard for non admin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1fe7cdc54d
commit
51e0525be3
|
|
@ -607,24 +607,36 @@ select[data-enpassusermodified='yes'] {
|
|||
/* ------------------------------------
|
||||
CUSTOMIZATION BASED ON USER ROLE
|
||||
------------------------------------*/
|
||||
.role-editor {
|
||||
|
||||
.role-editor,
|
||||
.role-conseiller {
|
||||
#toplevel_page_tm-menu-main,
|
||||
.rank-math-lock-modified-date,
|
||||
#dashboard_primary,
|
||||
#dashboard_quick_press,
|
||||
#dashboard_right_now,
|
||||
#dashboard_activity,
|
||||
#submitdiv,
|
||||
#submitdiv .handle-order-higher,
|
||||
#submitdiv .handle-order-lower,
|
||||
#submitdiv #preview-action,
|
||||
#rank_math_metabox,
|
||||
li a[href='my-sites.php'] {
|
||||
@apply !hidden;
|
||||
}
|
||||
}
|
||||
.role-editor {
|
||||
.rank-math-lock-modified-date,
|
||||
.misc-pub-curtime,
|
||||
.misc-pub-revisions,
|
||||
.misc-pub-visibility,
|
||||
#icl_div,
|
||||
#rank_math_metabox,
|
||||
#acf-group_672358433051b,
|
||||
#revisionsdiv,
|
||||
#toplevel_page_rank-math,
|
||||
#acfml-field-group-synchronise,
|
||||
#menu-tools,
|
||||
#postimagediv,
|
||||
#submitdiv,
|
||||
#submitdiv .handle-order-higher,
|
||||
#submitdiv .handle-order-lower,
|
||||
#submitdiv #preview-action,
|
||||
#footer-left,
|
||||
.tablenav .bulkactions,
|
||||
.check-column,
|
||||
|
|
@ -639,14 +651,9 @@ select[data-enpassusermodified='yes'] {
|
|||
}
|
||||
|
||||
.role-conseiller {
|
||||
#toplevel_page_tm-menu-main,
|
||||
#rank_math_metabox,
|
||||
#menu-media,
|
||||
#submitdiv,
|
||||
#menu-tools,
|
||||
#toplevel_page_edit-tags-taxonomy-metiers-post_type-artisans,
|
||||
#toplevel_page_edit-tags-taxonomy-elementsbatiments-post_type-artisans,
|
||||
li a[href='my-sites.php'] {
|
||||
#toplevel_page_edit-tags-taxonomy-elementsbatiments-post_type-artisans {
|
||||
@apply !hidden;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user