summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-10 18:35:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-10 18:35:48 +0000
commit55ed70529aefdb3029f5ab72169b2f7909b2f2a3 (patch)
tree1f1dbf48685483905949c121cafe36e26c7efc7c /app/views/projects
parent28c6aa4e6dfe7b4261cd4b4feb50eda62ace0572 (diff)
downloadredmine-55ed70529aefdb3029f5ab72169b2f7909b2f2a3.tar.gz
redmine-55ed70529aefdb3029f5ab72169b2f7909b2f2a3.zip
added model Comment.
comments can now be added on news. git-svn-id: http://redmine.rubyforge.org/svn/trunk@81 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/list_news.rhtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/list_news.rhtml b/app/views/projects/list_news.rhtml
index 6880de32f..59b737fc5 100644
--- a/app/views/projects/list_news.rhtml
+++ b/app/views/projects/list_news.rhtml
@@ -6,7 +6,8 @@
<% for news in @news %>
<li><%= link_to news.title, :controller => 'news', :action => 'show', :id => news %><br />
<% unless news.summary.empty? %><%= news.summary %><br /><% end %>
- <em><%= news.author.name %>, <%= format_time(news.created_on) %></em><br />&nbsp;
+ <em><%= news.author.name %>, <%= format_time(news.created_on) %></em><br />
+ <%= news.comments_count %> <%= lwr(:label_comment, news.comments_count).downcase %><br />&nbsp;
</li>
<% end %>
</ul>