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
remove unused method and its related trasnlation string keys
Behrokh Satarnejade692d80cae01
diff --git a/app/components/projects/index_page_header_component.rb b/app/components/projects/index_page_header_component.rbindex 126b80b2e40..e6c1c4bcbeb 100644--- a/app/components/projects/index_page_header_component.rb+++ b/app/components/projects/index_page_header_component.rb@@ -75,17 +75,6 @@ class Projects::IndexPageHeaderComponent < ApplicationComponentquery.name.blank?end- def gantt_portfolio_title- title = t('projects.index.open_as_gantt_title')-- if current_user.admin?- title << ' '- title << t('projects.index.open_as_gantt_title_admin')- end-- title- end-def show_state?state == :showenddiff --git a/config/locales/en.yml b/config/locales/en.ymlindex 8e8f58bbc01..99795caa584 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -282,8 +282,6 @@ en:completed_text_children: "Additionally, the following subprojects have been deleted:"index:open_as_gantt: "Open as Gantt view"- open_as_gantt_title: "Use this button to generate a Gantt view that filters work packages for the projects visible on this page."- open_as_gantt_title_admin: "You can modify the view settings (such as selected work package types) in the administration under project settings."no_results_title_text: There are currently no projectsno_results_content_text: Create a new projectlists: