diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-13 18:24:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-13 18:24:10 +0000 |
commit | c27e917843a6cfca04986bc3c6981e8744ef6e38 (patch) | |
tree | ba2a0bc32dc86f48d37d1d2b9da046a101566826 /app/views/news | |
parent | d17b8dcc97f1509d4b4be99b0499862b2b0b3758 (diff) | |
download | redmine-c27e917843a6cfca04986bc3c6981e8744ef6e38.tar.gz redmine-c27e917843a6cfca04986bc3c6981e8744ef6e38.zip |
HTML improvements on project landing page (#18565).
Patch by Tobias Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13753 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r-- | app/views/news/_news.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/_news.html.erb b/app/views/news/_news.html.erb index ddbaecabf..cc83d2a9e 100644 --- a/app/views/news/_news.html.erb +++ b/app/views/news/_news.html.erb @@ -1,6 +1,6 @@ <p><%= link_to_project(news.project) + ': ' unless @project %> <%= link_to h(news.title), news_path(news) %> -<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %> +<% if news.comments_count > 0 %><span class="comments">(<%= l(:label_x_comments, :count => news.comments_count) %>)</span><% end %> <br /> <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> <span class="author"><%= authoring news.created_on, news.author %></span></p> |