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 icons on admin overview page

Markus Kahldffb638f8ae7
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
index d318b2fb6be..9f67f397c8d 100644
--- a/app/views/admin/index.html.erb
+++ b/app/views/admin/index.html.erb
@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="menu-blocks--container" data-test-selector="menu-blocks--container">
<% @menu_nodes.each do |menu_node| -%>
<%= link_to menu_node.url, { class: 'menu-block', 'data-test-selector': 'menu-block' } do %>
- <%= op_icon("menu-block--icon icon3 icon-#{(menu_node.icon || '')}") %>
+ <%= spot_icon("#{(menu_node.icon || '')}", classnames: "menu-block--icon icon3") %>
<span class="menu-block--title"> <%= menu_node.caption %> </span>
<% end %>
<% end %>