Changeset 1221
- Timestamp:
- 08/15/08 17:05:17 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/views/home/index.html.erb
r1014 r1221 20 20 <% end -%> 21 21 22 <% unless (recent_posts = Post.recent_posts( 5)).nil? -%>22 <% unless (recent_posts = Post.recent_posts(3)).nil? -%> 23 23 <%= render :partial => "post/posts", :object => recent_posts, :locals => { 24 24 :title => _("Latest Post"), 25 25 :more_url => post_recent_url, 26 :full_num => 5,26 :full_num => 3, 27 27 :short => true 28 28 } %> … … 96 96 </tr> 97 97 </table> 98 98 <div class="main_title"><%= _("Journal") %></div> 99 <% unless (recent_journal_entries = JournalEntry.recent_journal_entries(3)).nil? -%> 100 <%= render :partial => "journal_entries/recent_journal_entries", 101 :locals => { 102 :recent_journal_entries => recent_journal_entries, 103 :title => _("Recent Journal Entries"), 104 :more_url => journals_url 105 } 106 %> 107 <% end %> 99 108 <% end -%> 100 109
