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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Rewrite angular component calls with new helper
Oliver Güntherca9b2ff1f336
diff --git a/app/views/work_packages/_menu_query_select.html.erb b/app/views/work_packages/_menu_query_select.html.erbindex ca9ecc4d710..ca34e91ef0b 100644--- a/app/views/work_packages/_menu_query_select.html.erb+++ b/app/views/work_packages/_menu_query_select.html.erb@@ -1,7 +1,8 @@-<%= content_tag 'op-query-select', '',- data: {- 'project-identifier': (@project ? @project.identifier : '').to_json,- 'menu-items': [parent_name, name].to_json,- 'base-route': 'work-packages'.to_json- }+<%=+ angular_component_tag 'op-query-select',+ inputs: {+ projectIdentifier: (@project ? @project.identifier : ''),+ menuItems: [parent_name, name],+ baseRoute: 'work-packages'+ }%>diff --git a/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb b/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erbindex 5bd67a1bbf4..3c0cc78bd05 100644--- a/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb+++ b/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb@@ -1,10 +1,11 @@<div class="op-ifc-viewer--sidemenu">- <%= content_tag 'op-query-select', '',- data: {- 'project-identifier': (@project ? @project.identifier : '').to_json,- 'menu-items': [parent_name, name].to_json,- 'base-route': 'bim.partitioned.split'.to_json- }+ <%=+ angular_component_tag 'op-query-select',+ inputs: {+ projectIdentifier: (@project ? @project.identifier : ''),+ menuItems: [parent_name, name],+ baseRoute: 'bim.partitioned.split'+ }%><hr>