Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix indentation

Tobias Dillmann90acc21ae2b3
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index c3981a378a6..0ac67a4077d 100644
--- a/app/views/news/index.html.erb
+++ b/app/views/news/index.html.erb
@@ -60,7 +60,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="news">
<h3 class="news--header"><%= avatar(news.author) %><%= link_to_project(news.project) + ': ' unless news.project == @project %>
<%= link_to h(news.title), news_path(news) %>
- <%= "(#{t(:label_x_comments, count: news.comments_count)})" if news.comments_count > 0 %></h3>
+ <%= "(#{t(:label_x_comments, count: news.comments_count)})" if news.comments_count > 0 %></h3>
<p class="author additional-information"><%= authoring news.created_at, news.author %></p>
<div class="wiki op-uc-container">
<%= format_text(news.summary.present? ? news.summary : truncate(news.description, length: 150, escape: false), object: news) %>