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

Add "manage models" on show page and change icon to avoid conflicts with the edit button

Henriette Dingeradbdf250d18f
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 36c9339f6cc..7168c97bd12 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,11 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
</li>
<% end %>
+ <li class="toolbar-item">
+ <%= link_to(ifc_models_project_ifc_models_path(@project), class: 'button', accesskey: accesskey(:edit)) do %>
+ <%= op_icon('button--icon icon-settings2') %> <%= t('ifc_models.label_manage_models') %>
+ <% end %>
+ </li>
<li class="toolbar-item">
<zen-mode-toggle-button></zen-mode-toggle-button>
</li>
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 d0c3a32120e..942c8b14f82 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
@@ -37,7 +37,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= toolbar title: t('ifc_models.label_default_ifc_models') do %>
<li class="toolbar-item">
<%= link_to(ifc_models_project_ifc_models_path(@project), class: 'button', accesskey: accesskey(:edit)) do %>
- <%= op_icon('button--icon icon-edit') %> <%= t('ifc_models.label_manage_models') %>
+ <%= op_icon('button--icon icon-settings2') %> <%= t('ifc_models.label_manage_models') %>
<% end %>
</li>
<li class="toolbar-item">