Added radio buttons on the documents list to sort documents by category, date, title or author.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@879 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-11-04 11:15:04 +00:00
parent 11cf016c58
commit d4e47d5d64
22 changed files with 50 additions and 27 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ module SortHelper
#
def sort_header_tag(column, options = {})
caption = options.delete(:caption) || titleize(Inflector::humanize(column))
options[:title]= l(:label_sort_by, caption) unless options[:title]
options[:title]= l(:label_sort_by, "\"#{caption}\"") unless options[:title]
content_tag('th', sort_link(column, caption), options)
end