public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
dont bomb out on comment events without an event body

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@1974 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Fri Sep 01 12:54:39 -0700 2006
commit  37a3888b2da263de03d2bee2008b9d7c556bacbe
tree    5a276c7714f5cae22ba41e4bc9a6e4284f106196
parent  59e9e840b811c2f89f8f9931142bdf76788f60cb
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 * SVN *
0
 
0
+* dont bomb out on comment events without an event body
0
+
0
 * fix bug where you're unable to delete an empty comment
0
 
0
 * Ignore drafts and articles published in the future when searching.
...
3
4
5
 
6
 
7
8
9
...
3
4
5
6
7
8
9
10
11
0
@@ -3,7 +3,9 @@
0
   <%= link_to event.article.title, :controller => 'articles', :action => 'comments', :id => event.article_id, :anchor => "comment-#{event.comment_id}" %> received a comment.
0
   
0
   <span class="event-time"><%= event_time_for event, later %></span>
0
+ <% unless event.body.blank? -%>
0
   <blockquote><p>&quot;<%= truncate strip_tags(event.body), 100 %>&quot;</p></blockquote>
0
+ <% end -%>
0
   <span class="meta">
0
     &mdash; <%=h event.author %>
0
   </span>

Comments

    No one has commented yet.