From 6fe71823302136b7dd4b199e194440a77e809070 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 22 Nov 2012 12:45:57 +0100 Subject: [PATCH] SONAR-3786 Remove the collapse/expand link and add spaced above the exception message --- .../plugins/core/web/tests_viewer.html.erb | 22 +++++++++---------- .../src/main/webapp/javascripts/resource.js | 12 +++++----- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb index 531c1d8e8e7..af3909f8a61 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb @@ -34,7 +34,6 @@ - @@ -65,22 +64,23 @@ failure = block.elements['failure'] block_message = !failure.nil? ? failure : block_message %> -
    <%= message('test_viewer.duration') -%> <%= message('test_viewer.unit_test_name') -%> - <% if !block_message.nil? %> - <%= message('test_viewer.expand') -%> - - <% else %> -   - <% end %> - <%= block.attributes['time'] -%> ms - <%= block.attributes['name'] -%> + + <% name = block.attributes['name'] %> + <% if !block_message.nil? %> + <%= name -%> + + <% else %> + <%= name -%> + <% end %> + + <% if !block_message.nil? %> -