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 Button in identifier.html with different syntax

bsatarnejad3ab7aa490395
diff --git a/app/views/projects/identifier.html.erb b/app/views/projects/identifier.html.erb
index de98f81cb0e..9e284caa4b5 100644
--- a/app/views/projects/identifier.html.erb
+++ b/app/views/projects/identifier.html.erb
@@ -51,7 +51,8 @@ See docs/COPYRIGHT.rdoc for more details.
</span>
<span>
<%= link_to settings_generic_project_path(@project), class: 'button' do %>
- <span class="button--text button -with-icon icon-cancel"><%= l(:button_cancel) %></span>
+ <%= op_icon('button--icon icon-cancel') %>
+ <span class="button--text"><%= l(:button_cancel) %></span>
<% end %>
</span>
</div>