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
do not show time entry activities in enumerations
Klaus Zanders62fd2ccc6ead
diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rbindex c1b2be5ec7d..e466bebf1f4 100644--- a/app/controllers/enumerations_controller.rb+++ b/app/controllers/enumerations_controller.rb@@ -32,6 +32,8 @@ class EnumerationsController < ApplicationControllerbefore_action :require_adminbefore_action :find_enumeration, only: %i[edit update move destroy]+ helper_method :enumeration_classes+include CustomFieldsHelperdef index; end@@ -102,6 +104,10 @@ class EnumerationsController < ApplicationControllerprotected+ def enumeration_classes+ [DocumentCategory, IssuePriority]+ end+def show_local_breadcrumbfalseenddiff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erbindex d9e9e910333..e0a0ca4c3f5 100644--- a/app/views/enumerations/index.html.erb+++ b/app/views/enumerations/index.html.erb@@ -36,7 +36,7 @@ See COPYRIGHT and LICENSE files for more details.end%>-<% Enumeration.subclasses.each do |klass| %>+<% enumeration_classes.each do |klass| %><h3 class="-no-border"><%= t(klass::OptionName) %></h3><%= render(::Enumerations::TableComponent.new(rows: klass.shared, enumeration: klass)) %><% end %>