Commit b601498f authored by tmaruyama's avatar tmaruyama

fix calendar links for previous/next month (#8989).

git-svn-id: https://svn.redmine.org/redmine/trunk@6406 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9b35b9ba
......@@ -12,7 +12,8 @@ module CalendarsHelper
"#{month_name(target_month)}"
end
link_to_month(('« ' + name), target_year, target_month, options)
# \xc2\xab(utf-8) = «
link_to_month(("\xc2\xab " + name), target_year, target_month, options)
end
def link_to_next_month(year, month, options={})
......@@ -28,7 +29,8 @@ module CalendarsHelper
"#{month_name(target_month)}"
end
link_to_month((name + ' »'), target_year, target_month, options)
# \xc2\xbb(utf-8) = »
link_to_month((name + " \xc2\xbb"), target_year, target_month, options)
end
def link_to_month(link_name, year, month, options={})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment