]> source.dussan.org Git - redmine.git/commitdiff
[#9489] made labels visible as this is an accessibility issue even for sighted users
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:23:47 +0000 (01:23 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:23:47 +0000 (01:23 +0000)
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7695 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/queries/_columns.html.erb

index 3e08726b089320af4032ac9b6d2191111243b4c7..614192771145d0d52899e2ac706367095dcff000 100644 (file)
@@ -1,7 +1,8 @@
 <table style="border-collapse: collapse; border:0;">
   <tr>
     <td style="padding-left:0">
-      <%= label_tag "available_columns", l(:description_available_columns), :class => "hidden-for-sighted" %>
+      <%= label_tag "available_columns", l(:description_available_columns) %>
+      <br \>
       <%= select_tag 'available_columns',
               options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
               :multiple => true, :size => 10, :style => "width:150px" %>
@@ -13,7 +14,8 @@
        onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
     </td>
     <td>
-      <%= label_tag "selected_columns", l(:description_selected_columns), :class => "hidden-for-sighted" %>
+      <%= label_tag "selected_columns", l(:description_selected_columns) %>
+      <br \>
       <%= select_tag 'c[]',
               options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
               :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>