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

Change icons under admin > info

Oliver Günther2c88ea5b229f
diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb
index 6d28c0fa51e..d0f8ec0a9c1 100644
--- a/app/views/admin/info.html.erb
+++ b/app/views/admin/info.html.erb
@@ -83,7 +83,9 @@ end %>
component.with_header(title: I18n.t(:label_system))
@checklist.each do |label, result|
- value = icon_wrapper((result ? 'icon-context icon-checkmark' : 'icon-context icon-bug'), (result ? t(:general_text_Yes) : t(:general_text_No)))
+ aria_label = result ? t(:general_text_Yes) : t(:general_text_No)
+ icon = result ? 'check-circle-fill' : 'circle'
+ value = render Primer::Beta::Octicon.new(icon:, "aria-label": aria_label)
component.with_attribute(key: I18n.t(label), value:)
end
end %>