projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Format dates in the changeset list so the year is shown. Closes #2232.
[rails.git]
/
app
/
views
/
diary_entry
/
list.html.erb
diff --git
a/app/views/diary_entry/list.html.erb
b/app/views/diary_entry/list.html.erb
index c2f748bf124c28600e81a492be4437e13a85e758..68c8c12668bb7134fee58e6430fd4e208b9522ab 100644
(file)
--- a/
app/views/diary_entry/list.html.erb
+++ b/
app/views/diary_entry/list.html.erb
@@
-25,9
+25,9
@@
<%= render :partial => 'diary_entry', :collection => @entries %>
<%= render :partial => 'diary_entry', :collection => @entries %>
- <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next } if @entry_pages.current.next %>
+ <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next
, :language => params[:language]
} if @entry_pages.current.next %>
<% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %>
<% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %>
- <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous } if @entry_pages.current.previous %>
+ <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous
, :language => params[:language]
} if @entry_pages.current.previous %>
<br />
<% end %>
<br />
<% end %>
@@
-35,5
+35,5
@@
<%= rss_link_to :action => 'rss', :language => params[:language] %>
<% content_for :head do %>
<%= rss_link_to :action => 'rss', :language => params[:language] %>
<% content_for :head do %>
-<%= auto_discovery_link_tag :atom, :action => 'rss' %>
+<%= auto_discovery_link_tag :atom, :action => 'rss'
, :language => params[:language]
%>
<% end %>
<% end %>