diff --git a/ee/app/views/admin/geo_nodes/index.html.haml b/ee/app/views/admin/geo_nodes/index.html.haml
index 93196644fd6d7a5071bc20c28157a959f5ddf75c..cdb626f872f9c6545bdfdca1633218a98b4aff77 100644
--- a/ee/app/views/admin/geo_nodes/index.html.haml
+++ b/ee/app/views/admin/geo_nodes/index.html.haml
@@ -19,7 +19,8 @@
   they appear.
 
 - unless Gitlab::Database.pg_stat_wal_receiver_supported?
-  %p.alert.text-danger WARNING: Please upgrade PostgreSQL to version 9.6 or greater. The status of the replication cannot be determined reliably with the current version.
+  = content_for :flash_message do
+    .alert.alert-warning WARNING: Please upgrade PostgreSQL to version 9.6 or greater. The status of the replication cannot be determined reliably with the current version.
 
 - if @nodes.any?
   #js-geo-nodes{ data: { primary_version: "#{Gitlab::VERSION}", primary_revision: "#{Gitlab::REVISION}", node_details_path: "#{admin_geo_nodes_path}", node_actions_allowed: "#{Gitlab::Database.read_write?}", node_edit_allowed: "#{Gitlab::Geo.license_allows?}" } }