##// END OF EJS Templates
fix calendar links for previous/next month (#8989)....
Toshi MARUYAMA -
r6286:2b1dd9da42d1
parent child
Show More
@@ -12,7 +12,8 module CalendarsHelper
12 12 "#{month_name(target_month)}"
13 13 end
14 14
15 link_to_month(('« ' + name), target_year, target_month, options)
15 # \xc2\xab(utf-8) = «
16 link_to_month(("\xc2\xab " + name), target_year, target_month, options)
16 17 end
17 18
18 19 def link_to_next_month(year, month, options={})
@@ -28,7 +29,8 module CalendarsHelper
28 29 "#{month_name(target_month)}"
29 30 end
30 31
31 link_to_month((name + ' »'), target_year, target_month, options)
32 # \xc2\xbb(utf-8) = »
33 link_to_month((name + " \xc2\xbb"), target_year, target_month, options)
32 34 end
33 35
34 36 def link_to_month(link_name, year, month, options={})
General Comments 0
You need to be logged in to leave comments. Login now