Skip to content

Commit

Permalink
verdigado_attendance: hide calendar and discuss menu from web menu
Browse files Browse the repository at this point in the history
  • Loading branch information
albig committed Oct 30, 2023
1 parent feb7e24 commit 38f00f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions verdigado_attendance/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"web._assets_primary_variables": [
"verdigado_attendance/static/src/scss/primary_variables.scss",
],
"web.assets_frontend": [
"verdigado_attendance/static/src/scss/frontend.scss",
],
"web.assets_backend": [
"verdigado_attendance/static/src/scss/backend.scss",
"verdigado_attendance/static/src/js/systray.esm.js",
Expand Down
6 changes: 6 additions & 0 deletions verdigado_attendance/static/src/scss/backend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ div.o_cp_buttons button.btn.btn-secondary.btn-allocation {
.o_hr_attendance_kiosk_mode .o_hr_attendance_user_badge {
background: linear-gradient(90deg, #006e2e, #008939);
}

/* hide calendar and discuss in menu */
span[data-menu-xmlid="calendar.mail_menu_calendar"],
span[data-menu-xmlid="mail.menu_root_discuss"] {
display: none;
}
3 changes: 3 additions & 0 deletions verdigado_attendance/static/src/scss/frontend.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.bg-100 {
background-color: $o-brand-primary !important;
}

0 comments on commit 38f00f8

Please sign in to comment.