@@ -1365,8 +1365,4 module ApplicationHelper | |||
|
1365 | 1365 | extend helper |
|
1366 | 1366 | return self |
|
1367 | 1367 | end |
|
1368 | ||
|
1369 | def link_to_content_update(text, url_params = {}, html_options = {}) | |
|
1370 | link_to(text, url_params, html_options) | |
|
1371 | end | |
|
1372 | 1368 | end |
@@ -53,6 +53,6 module CalendarsHelper | |||
|
53 | 53 | end |
|
54 | 54 | |
|
55 | 55 | def link_to_month(link_name, year, month, options={}) |
|
56 |
link_to |
|
|
56 | link_to(link_name, params.merge(:year => year, :month => month), options) | |
|
57 | 57 | end |
|
58 | 58 | end |
@@ -23,7 +23,7 module GanttHelper | |||
|
23 | 23 | case in_or_out |
|
24 | 24 | when :in |
|
25 | 25 | if gantt.zoom < 4 |
|
26 |
link_to |
|
|
26 | link_to l(:text_zoom_in), | |
|
27 | 27 | params.merge(gantt.params.merge(:zoom => (gantt.zoom + 1))), |
|
28 | 28 | :class => 'icon icon-zoom-in' |
|
29 | 29 | else |
@@ -32,7 +32,7 module GanttHelper | |||
|
32 | 32 | |
|
33 | 33 | when :out |
|
34 | 34 | if gantt.zoom > 1 |
|
35 |
link_to |
|
|
35 | link_to l(:text_zoom_out), | |
|
36 | 36 | params.merge(gantt.params.merge(:zoom => (gantt.zoom - 1))), |
|
37 | 37 | :class => 'icon icon-zoom-out' |
|
38 | 38 | else |
@@ -223,7 +223,7 module SortHelper | |||
|
223 | 223 | # Add project_id to url_options |
|
224 | 224 | url_options = url_options.merge(:project_id => params[:project_id]) if params.has_key?(:project_id) |
|
225 | 225 | |
|
226 |
link_to |
|
|
226 | link_to(caption, url_options, :class => css) | |
|
227 | 227 | end |
|
228 | 228 | |
|
229 | 229 | # Returns a table header <th> tag with a sort link for the named column |
@@ -24,12 +24,12 | |||
|
24 | 24 | <span class="pagination"> |
|
25 | 25 | <ul class="pages"> |
|
26 | 26 | <li class="previous page"> |
|
27 |
<%= link_to |
|
|
27 | <%= link_to("\xc2\xab " + l(:label_previous), | |
|
28 | 28 | params.merge(:from => @date_to - @days - 1), |
|
29 | 29 | :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)), |
|
30 | 30 | :accesskey => accesskey(:previous)) %> |
|
31 | 31 | </li><% unless @date_to >= User.current.today %><li class="next page"> |
|
32 |
<%= link_to |
|
|
32 | <%= link_to(l(:label_next) + " \xc2\xbb", | |
|
33 | 33 | params.merge(:from => @date_to + @days - 1), |
|
34 | 34 | :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)), |
|
35 | 35 | :accesskey => accesskey(:next)) %><% end %> |
@@ -332,12 +332,12 | |||
|
332 | 332 | <table style="width:100%"> |
|
333 | 333 | <tr> |
|
334 | 334 | <td style="text-align:left;"> |
|
335 |
<%= link_to |
|
|
335 | <%= link_to("\xc2\xab " + l(:label_previous), | |
|
336 | 336 | params.merge(@gantt.params_previous), |
|
337 | 337 | :accesskey => accesskey(:previous)) %> |
|
338 | 338 | </td> |
|
339 | 339 | <td style="text-align:right;"> |
|
340 |
<%= link_to |
|
|
340 | <%= link_to(l(:label_next) + " \xc2\xbb", | |
|
341 | 341 | params.merge(@gantt.params_next), |
|
342 | 342 | :accesskey => accesskey(:next)) %> |
|
343 | 343 | </td> |
General Comments 0
You need to be logged in to leave comments.
Login now