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 homescreen_controller_spec.rb

Dombi Attila43985866281f
diff --git a/app/views/homescreen/index.html.erb b/app/views/homescreen/index.html.erb
index 27d04fe07a4..c2f3b993e04 100644
--- a/app/views/homescreen/index.html.erb
+++ b/app/views/homescreen/index.html.erb
@@ -48,8 +48,9 @@ See COPYRIGHT and LICENSE files for more details.
<% if show_homescreen_links? && @homescreen[:links].any? %>
<section class="homescreen--links">
+
<% @homescreen[:links].each do |link| %>
- <% title = I18n.t(link[:label], scope: 'homescreen.links', default: I18n.t(link[:label])) %>
+ <% title = I18n.t(link[:label], scope: 'homescreen.links') %>
<a class="homescreen--links--item" href="<%= link[:url] %>" target="_blank" title="<%= title %>">
<%= op_icon(link[:icon]) %>
<%= title %>