started work on /diary

This commit is contained in:
Richard Fairhurst 2007-05-04 17:07:27 +00:00
parent 763848b3dc
commit 8758685a86
5 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,5 @@
<b><%= diary_entry.title %></b><br />
<%= simple_format(diary_entry.body) %>
Posted by user <b><%= link_to diary_entry.user_id,"spong" %></b> at <%= diary_entry.created_at %><br />
<br />
<hr />

View file

@ -0,0 +1,3 @@
<h3>most recent posts:</h3>
FIXME: geoRSS needed. Also proper user names and permalinks.<br><br>
<%= render :partial => 'diary_entry/diary_entry', :collection => @entries %>

View file

@ -68,6 +68,7 @@
<div id="left_menu">
<a href="http://wiki.openstreetmap.org">Help & Wiki</a><br />
<%= link_to "Users' diaries", {:controller => 'diary_entry', :action => 'list'} %><br />
<a href="http://www.opengeodata.org/">News blog</a><br />
<a href="http://wiki.openstreetmap.org/index.php/Merchandise">Shop</a><br />
</div>