diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/projects.rhtml | 6 | ||||
-rw-r--r-- | app/views/issues/_list.rhtml | 2 | ||||
-rw-r--r-- | app/views/users/list.rhtml | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml index d35c484b5..c42845622 100644 --- a/app/views/admin/projects.rhtml +++ b/app/views/admin/projects.rhtml @@ -17,9 +17,9 @@ <thead><tr> <%= sort_header_tag('name', :caption => l(:label_project)) %> <th><%=l(:field_description)%></th> - <th><%=l(:field_is_public)%></th> <th><%=l(:label_subproject_plural)%></th> - <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> + <%= sort_header_tag('is_public', :caption => l(:field_is_public), :default_order => 'desc') %> + <%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %> <th></th> <th></th> </tr></thead> @@ -28,8 +28,8 @@ <tr class="<%= cycle("odd", "even") %>"> <td><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %> <td><%= textilizable project.short_description, :project => project %> - <td align="center"><%= image_tag 'true.png' if project.is_public? %> <td align="center"><%= project.children.size %> + <td align="center"><%= image_tag 'true.png' if project.is_public? %> <td align="center"><%= format_date(project.created_on) %> <td align="center" style="width:10%"> <small> diff --git a/app/views/issues/_list.rhtml b/app/views/issues/_list.rhtml index d8e3102df..ff91f34f7 100644 --- a/app/views/issues/_list.rhtml +++ b/app/views/issues/_list.rhtml @@ -6,7 +6,7 @@ :method => :get}, {:title => l(:label_bulk_edit_selected_issues)}) if @project && User.current.allowed_to?(:edit_issues, @project) %> </th> - <%= sort_header_tag("#{Issue.table_name}.id", :caption => '#') %> + <%= sort_header_tag("#{Issue.table_name}.id", :caption => '#', :default_order => 'desc') %> <% query.columns.each do |column| %> <%= column_header(column) %> <% end %> diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml index 7415af308..e12aa3425 100644 --- a/app/views/users/list.rhtml +++ b/app/views/users/list.rhtml @@ -17,10 +17,10 @@ <%= sort_header_tag('login', :caption => l(:field_login)) %> <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> - <th><%=l(:field_mail)%></th> - <%= sort_header_tag('admin', :caption => l(:field_admin)) %> - <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %> + <%= sort_header_tag('mail', :caption => l(:field_mail)) %> + <%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %> + <%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %> + <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on), :default_order => 'desc') %> <th></th> </tr></thead> <tbody> |