]> source.dussan.org Git - redmine.git/commitdiff
[#9489] added invisible labels for reassign select-tag on destroy views
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:18:10 +0000 (01:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:18:10 +0000 (01:18 +0000)
Contributed by Romano Licker.

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

app/views/enumerations/destroy.html.erb
app/views/issue_categories/destroy.html.erb
app/views/wiki/destroy.html.erb
config/locales/de.yml
config/locales/en.yml

index 657df83227286e7d383f10b312645edce0d25ff3..b77fff66ec3a7e099f821aeb040947053789e1e1 100644 (file)
@@ -3,7 +3,7 @@
 <% form_tag({}) do %>
 <div class="box">
 <p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
-<p><%= l(:text_enumeration_category_reassign_to) %>
+<p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label>
 <%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
 </div>
 
index 2b61810e75eb1e98f23bd8b45cd6eb24a44cb909..436aed3432dea77cffe3c71a592a02109a9132ac 100644 (file)
@@ -6,6 +6,7 @@
 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_issue_category_destroy_assignments) %></label><br />
 <% if @categories.size > 0 %>
 <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_issue_category_reassign_to) %></label>:
+<%= label_tag "reassign_to_id", l(:description_ticket_reassign), :class => "hidden-for-sighted" %>
 <%= select_tag 'reassign_to_id', options_from_collection_for_select(@categories, 'id', 'name') %></p>
 <% end %>
 </div>
index 1c07d7625f045d30f44319e88cc1a61ff3f5deed..e07e2f8d41bdcd910d2bf12c58df308791ed065e 100644 (file)
@@ -10,6 +10,7 @@
 <% if @reassignable_to.any? %>
 <br />
 <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
+<%= label_tag "reassign_to_id", l(:description_wiki_reassign), :class => "hidden-for-sighted" %>
 <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
                                  :onclick => "$('todo_reassign').checked = true;" %>
 <% end %>
index 777c45b4730647ad098ec56967c022b666c30750..23f06bbabb450f945e853f58e51cb60302cab5e8 100644 (file)
@@ -1008,4 +1008,6 @@ de:
   description_query_sort_criteria_direction: Sortierrichtung
   description_available_columns: Verfügbare Spalten
   description_selected_columns: Ausgewählte Spalten
+  description_ticket_reassign: Ticketzuordnung
+  description_wiki_reassign: Wikiseitenzuordnung
 
index dcdca5fe4c266c3efbb3b3cf0fb58cd303c3960f..93c987cedcdf96523e517d8c4ece3cd4f68af0bf 100644 (file)
@@ -986,3 +986,5 @@ en:
   description_query_sort_criteria_direction: Sort direction
   description_available_columns: Available Columns
   description_selected_columns: Selected Spalten
+  description_ticket_reassign: Assign issues to
+  description_wiki_reassign: Assign page to