[stable/2024.1] horizon: Disable backups panel if cinder-backup is disabled (#1690)

This is an automated cherry-pick of #1608
/assign mnaser
diff --git a/.gitignore b/.gitignore
index 48724ea..d362686 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-.vscode
+## Molecule
 molecule/*/artifacts
 molecule/*/group_vars/*
 !molecule/*/group_vars/.gitkeep
@@ -7,6 +7,8 @@
 !molecule/*/group_vars/all/molecule.yml
 molecule/*/host_vars/*
 !molecule/*/host_vars/.gitkeep
+
+## Misc
 *.tar.gz
 __pycache__
 tests/output
@@ -22,3 +24,16 @@
 doc/build
 collections/
 *.egg-info
+
+## Editors
+.idea
+.vscode
+[._]*.s[a-v][a-z]
+[._]*.sw[a-p]
+[._]s[a-rt-v][a-z]
+[._]ss[a-gi-z]
+[._]sw[a-p]
+*~
+[._]*.un~
+Session.vim
+Sessionx.vim
diff --git a/roles/horizon/vars/main.yml b/roles/horizon/vars/main.yml
index a5461ef..3e4f541 100644
--- a/roles/horizon/vars/main.yml
+++ b/roles/horizon/vars/main.yml
@@ -37,6 +37,8 @@
             WEBSSO_KEYSTONE_URL: https://{{ openstack_helm_endpoints['identity']['host_fqdn_override']['public']['host'] }}/v3
             # yamllint disable-line rule:line-length
             LOGOUT_URL: https://{{ openstack_helm_endpoints['identity']['host_fqdn_override']['public']['host'] }}/v3/auth/OS-FEDERATION/identity_providers/redirect?logout=https://{{ openstack_helm_endpoints_horizon_api_host }}/auth/logout/
+          openstack_cinder_features:
+            enable_backup: "{{ cinder_helm_values.manifests.deployment_backup | default(True) | ternary('True', 'False') | string }}"
       extra_panels:
         - designatedashboard
         - heat_dashboard