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
change the order of relations in action menu list
Behrokh Satarnejad8cc0712586d2
diff --git a/app/models/relation.rb b/app/models/relation.rbindex 947312b1c21..aede485a7d8 100644--- a/app/models/relation.rb+++ b/app/models/relation.rb@@ -51,20 +51,13 @@ class Relation < ApplicationRecordTYPE_RELATES => {name: :label_relates_to, sym_name: :label_relates_to, order: 1, sym: TYPE_RELATES},- TYPE_PRECEDES => {- name: :label_precedes, sym_name: :label_follows, order: 6,- sym: TYPE_FOLLOWS, reverse: TYPE_FOLLOWS- },TYPE_FOLLOWS => {name: :label_follows, sym_name: :label_precedes, order: 7,sym: TYPE_PRECEDES},- TYPE_BLOCKS => {- name: :label_blocks, sym_name: :label_blocked_by, order: 4, sym: TYPE_BLOCKED- },- TYPE_BLOCKED => {- name: :label_blocked_by, sym_name: :label_blocks, order: 5,- sym: TYPE_BLOCKS, reverse: TYPE_BLOCKS+ TYPE_PRECEDES => {+ name: :label_precedes, sym_name: :label_follows, order: 6,+ sym: TYPE_FOLLOWS, reverse: TYPE_FOLLOWS},TYPE_DUPLICATES => {name: :label_duplicates, sym_name: :label_duplicated_by, order: 6, sym: TYPE_DUPLICATED@@ -73,6 +66,13 @@ class Relation < ApplicationRecordname: :label_duplicated_by, sym_name: :label_duplicates, order: 7,sym: TYPE_DUPLICATES, reverse: TYPE_DUPLICATES},+ TYPE_BLOCKS => {+ name: :label_blocks, sym_name: :label_blocked_by, order: 4, sym: TYPE_BLOCKED+ },+ TYPE_BLOCKED => {+ name: :label_blocked_by, sym_name: :label_blocks, order: 5,+ sym: TYPE_BLOCKS, reverse: TYPE_BLOCKS+ },TYPE_INCLUDES => {name: :label_includes, sym_name: :label_part_of, order: 8,sym: TYPE_PARTOF