From 81f38ec38bd11690b6986611642c3919f29e5e45 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 19 Dec 2012 15:16:21 +0100 Subject: [PATCH] Revert fix of IE7 + move filter description --- .../WEB-INF/app/views/measures/search.html.erb | 17 ++++++++--------- .../src/main/webapp/stylesheets/layout.css | 9 ++++----- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/measures/search.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/measures/search.html.erb index 54d231c9d23..dfae2b79f0f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/measures/search.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/measures/search.html.erb @@ -30,7 +30,7 @@ <% if @filter.id %>
  • <%= message('copy') -%>
  • <% end %> - <% if !defined?(@unchanged) && @filter.id && @filter.owner?(current_user)%> + <% if !defined?(@unchanged) && @filter.id && @filter.owner?(current_user) %>
  • <%= link_to message('save'), params.merge({:action => 'save', :id => @filter.id}), :class => 'link-action', :id => 'save', :method => :post -%>
  • @@ -45,7 +45,7 @@
    <% if @filter.id && @filter.name.present? %>

    - <%= h @filter.name -%> + <%= h @filter.name -%> <% if !@filter.shared %> [<%= message 'measure_filter.private' -%>] @@ -57,17 +57,16 @@ [<%= message 'shared_by' -%> Sonar] <% end %> - <% if @filter.owner?(current_user) %> -  <%= image_tag 'pencil-small.png', :alt => message('edit') -%> - <% end %> + <% if @filter.owner?(current_user) %> +  <%= image_tag 'pencil-small.png', :alt => message('edit') -%> + <% end %>

    - <% if @filter.description.present? %> -

    <%= h @filter.description -%>

    - <% end %> - <% end %>
    + <% if @filter.description.present? %> +

    <%= h @filter.description -%>

    + <% end %> <%= render :partial => 'measures/display', :locals => {:filter => @filter, :edit_mode => edit_mode, :widget_id => nil} -%> diff --git a/sonar-server/src/main/webapp/stylesheets/layout.css b/sonar-server/src/main/webapp/stylesheets/layout.css index 036f40c8f20..4aee93245dd 100644 --- a/sonar-server/src/main/webapp/stylesheets/layout.css +++ b/sonar-server/src/main/webapp/stylesheets/layout.css @@ -266,19 +266,18 @@ ul.sidebar select, ul.sidebar input { max-width: 200px; width: 200px; margin: 0; - display: table-cell; + display: block; vertical-align: top; border-top: none; border-left: none; + float: left; } .page-split-right { - position: relative; - display: table-cell; + display: block; margin: 0; vertical-align: top; - padding: 0; - width: 100%; + padding: 0 0 0 200px; } .gray-sidebar { -- 2.39.5