diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/activities/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/gantts/show.html.erb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 748e60fd1..d3a780f0c 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -24,12 +24,12 @@ <span class="pagination"> <ul class="pages"> <li class="previous page"> -<%= link_to_content_update("\xc2\xab " + l(:label_previous), +<%= link_to("\xc2\xab " + l(:label_previous), params.merge(:from => @date_to - @days - 1), :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)), :accesskey => accesskey(:previous)) %> </li><% unless @date_to >= User.current.today %><li class="next page"> -<%= link_to_content_update(l(:label_next) + " \xc2\xbb", +<%= link_to(l(:label_next) + " \xc2\xbb", params.merge(:from => @date_to + @days - 1), :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)), :accesskey => accesskey(:next)) %><% end %> diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 34ee14c5a..1337fefe9 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -332,12 +332,12 @@ <table style="width:100%"> <tr> <td style="text-align:left;"> - <%= link_to_content_update("\xc2\xab " + l(:label_previous), + <%= link_to("\xc2\xab " + l(:label_previous), params.merge(@gantt.params_previous), :accesskey => accesskey(:previous)) %> </td> <td style="text-align:right;"> - <%= link_to_content_update(l(:label_next) + " \xc2\xbb", + <%= link_to(l(:label_next) + " \xc2\xbb", params.merge(@gantt.params_next), :accesskey => accesskey(:next)) %> </td> |