@@ -12,7 +12,8 module CalendarsHelper | |||||
12 | "#{month_name(target_month)}" |
|
12 | "#{month_name(target_month)}" | |
13 | end |
|
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 | end |
|
17 | end | |
17 |
|
18 | |||
18 | def link_to_next_month(year, month, options={}) |
|
19 | def link_to_next_month(year, month, options={}) | |
@@ -28,7 +29,8 module CalendarsHelper | |||||
28 | "#{month_name(target_month)}" |
|
29 | "#{month_name(target_month)}" | |
29 | end |
|
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 | end |
|
34 | end | |
33 |
|
35 | |||
34 | def link_to_month(link_name, year, month, options={}) |
|
36 | def link_to_month(link_name, year, month, options={}) |
General Comments 0
You need to be logged in to leave comments.
Login now