Skip to content

Commit a1a3d25

Browse files
committed
Sort Tracker icons and adjust IssueStatus sort way
1 parent 479a3c1 commit a1a3d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/settings/gtt/_settings.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3><%= l(:select_default_tracker_icon) %></h3>
22

3-
<% Tracker.all.each do |t| %>
3+
<% Tracker.sorted.each do |t| %>
44
<p>
55
<%= content_tag :label, t.name %>
66
<%= select_tag "settings[tracker_#{t.id}]", "<option>#{@settings["tracker_#{t.id}"]}</option>".html_safe %>
@@ -11,7 +11,7 @@
1111
<div class="box tabular settings">
1212
<h3><%= l(:select_default_status_color) %></h3>
1313

14-
<% IssueStatus.all.sort.each do |t| %>
14+
<% IssueStatus.sorted.each do |t| %>
1515
<p>
1616
<%= content_tag :label, t.name %>
1717
<%= color_field_tag "settings[status_#{t.id}]", @settings["status_#{t.id}"] %>

0 commit comments

Comments
 (0)