From d37071a5334690d075d551030a2d6b5275aeaa13 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Fri, 8 Aug 2014 10:52:54 +0200 Subject: [PATCH] SONAR-4907 Enhance readability of search related info in system page --- .../sonar-web/src/main/webapp/WEB-INF/app/models/server.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb index e68898db2d8..e33a68466ea 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb @@ -89,9 +89,9 @@ class Server add_property(search_info, 'CPU Load Average') { node_health.getProcessCpuPercent() } search_health.getIndexHealth().each do |name, index_health| - add_property(search_info, "Document Count (#{name})") { index_health.getDocumentCount() } - add_property(search_info, "Last Sync (#{name})") { index_health.getLastSynchronization() } - add_property(search_info, "Optimization (#{name})") { index_health.isOptimized() ? 'Optimized' : "Unoptimized (Segments: #{index_health.getSegmentcount()}, Pending Deletions: #{index_health.getPendingDeletion()})" } + add_property(search_info, "#{name} - Document Count") { index_health.getDocumentCount() } + add_property(search_info, "#{name} - Last Sync") { index_health.getLastSynchronization() } + add_property(search_info, "#{name} - Optimization") { index_health.isOptimized() ? 'Optimized' : "Unoptimized (Segments: #{index_health.getSegmentcount()}, Pending Deletions: #{index_health.getPendingDeletion()})" } end search_info -- 2.39.5