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

zen mode for ifc viewer

ulfertsa9a50bfe997a
diff --git a/modules/ifc_models/app/views/ifc_models/ifc_models/show.html.erb b/modules/ifc_models/app/views/ifc_models/ifc_models/show.html.erb
index c3c77f8f26c..36c9339f6cc 100644
--- a/modules/ifc_models/app/views/ifc_models/ifc_models/show.html.erb
+++ b/modules/ifc_models/app/views/ifc_models/ifc_models/show.html.erb
@@ -49,6 +49,9 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
</li>
<% end %>
+ <li class="toolbar-item">
+ <zen-mode-toggle-button></zen-mode-toggle-button>
+ </li>
<% end %>
<% if @ifc_model.converted? %>
diff --git a/modules/ifc_models/app/views/ifc_models/ifc_models/show_defaults.html.erb b/modules/ifc_models/app/views/ifc_models/ifc_models/show_defaults.html.erb
index 8f79f3f97d6..d0c3a32120e 100644
--- a/modules/ifc_models/app/views/ifc_models/ifc_models/show_defaults.html.erb
+++ b/modules/ifc_models/app/views/ifc_models/ifc_models/show_defaults.html.erb
@@ -40,6 +40,9 @@ See doc/COPYRIGHT.rdoc for more details.
<%= op_icon('button--icon icon-edit') %> <%= t('ifc_models.label_manage_models') %>
<% end %>
</li>
+ <li class="toolbar-item">
+ <zen-mode-toggle-button></zen-mode-toggle-button>
+ </li>
<% end %>
<% if @default_ifc_models.empty? %>