summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 09:06:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 09:06:58 +0000
commit90259f4f736129f19304d8541a8fe025bfcd8f32 (patch)
treef08767394ef3ac5af37f93a7b76d902e2d484fda /app/views
parent0df7fa714b42fc8d5eece57689433b9f60c8d3d7 (diff)
downloadredmine-90259f4f736129f19304d8541a8fe025bfcd8f32.tar.gz
redmine-90259f4f736129f19304d8541a8fe025bfcd8f32.zip
Give numbers in query sort criteria consistent width for non-monospaced fonts (#21119).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@14790 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/queries/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index d995777c5..a7aae8a43 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -54,7 +54,7 @@
<% unless params[:gantt] %>
<fieldset><legend><%= l(:label_sort) %></legend>
<% 3.times do |i| %>
-<%= i+1 %>:
+<%= content_tag(:span, "#{i+1}:", :class => 'query_sort_criteria_count')%>
<%= label_tag "query_sort_criteria_attribute_" + i.to_s,
l(:description_query_sort_criteria_attribute), :class => "hidden-for-sighted" %>
<%= select_tag("query[sort_criteria][#{i}][]",