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

Use pageheader component

Oliver Günther545fb986c06f
diff --git a/app/views/admin/settings/virus_scanning_settings/show.html.erb b/app/views/admin/settings/virus_scanning_settings/show.html.erb
index f385158ccf5..0e2c3ccaf64 100644
--- a/app/views/admin/settings/virus_scanning_settings/show.html.erb
+++ b/app/views/admin/settings/virus_scanning_settings/show.html.erb
@@ -26,7 +26,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
-<%= toolbar title: t(:'settings.antivirus.title') %>
+<%= render(Primer::OpenProject::PageHeader.new) do |header| %>
+ <% header.with_title do %>
+ <%= t('settings.antivirus.title') %>
+ <% end %>
+<% end %>
<%= styled_form_tag(
admin_settings_virus_scanning_path,