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 news and projects widget

Henriette Darge253bb3d09146
diff --git a/app/components/homescreen/blocks/news.html.erb b/app/components/homescreen/blocks/news.html.erb
index 748bad0a290..46faa9abfa0 100644
--- a/app/components/homescreen/blocks/news.html.erb
+++ b/app/components/homescreen/blocks/news.html.erb
@@ -1,4 +1,4 @@
-<% widget_wrapper do %>
+<%= widget_wrapper do %>
<% unless @news.empty? %>
<ul class="widget-box--arrow-links">
<% @news.each do |news| %>
diff --git a/app/components/homescreen/blocks/projects.html.erb b/app/components/homescreen/blocks/projects.html.erb
index 23edb54e32b..6e2918aed34 100644
--- a/app/components/homescreen/blocks/projects.html.erb
+++ b/app/components/homescreen/blocks/projects.html.erb
@@ -1,4 +1,4 @@
-<% widget_wrapper do %>
+<%= widget_wrapper do %>
<% if @favorite_projects.any? %>
<p class="widget-box--additional-info"><%= t("projects.lists.favorited") %></p>
<ul class="widget-box--arrow-links">