diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-12 16:26:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-12 16:26:37 +0000 |
commit | df30e18a8cfcec42c660acb0a8567489f60c8941 (patch) | |
tree | 3df9dc0b877cce9bc0a543b0bc65dc1c1253b0a0 /app | |
parent | 64eaf328eae17f9ced062e0e3ecc0a97df7eea8e (diff) | |
download | redmine-df30e18a8cfcec42c660acb0a8567489f60c8941.tar.gz redmine-df30e18a8cfcec42c660acb0a8567489f60c8941.zip |
Added missing wiki div on news/index and news/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1059 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/news/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/news/show.rhtml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index b958c475e..c6bb9ad5a 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -24,7 +24,9 @@ <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> <%= "(#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase})" if news.comments_count > 0 %></h3> <p class="author"><%= authoring news.created_on, news.author %></p> + <div class="wiki"> <%= textilizable(news.description) %> + </div> <% end %> <% end %> <p class="pagination"><%= pagination_links_full @news_pages %></p> diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index e0cd09990..bff737f40 100644 --- a/app/views/news/show.rhtml +++ b/app/views/news/show.rhtml @@ -19,7 +19,9 @@ <p><em><% unless @news.summary.empty? %><%=h @news.summary %><br /><% end %> <span class="author"><%= authoring @news.created_on, @news.author %></span></em></p> +<div class="wiki"> <%= textilizable(@news.description) %> +</div> <br /> <div id="comments" style="margin-bottom:16px;"> |