diff --git a/app/views/settings/_redmine_plugin_tiny_features_settings.html.erb b/app/views/settings/_redmine_plugin_tiny_features_settings.html.erb index d3c400d..72c679a 100644 --- a/app/views/settings/_redmine_plugin_tiny_features_settings.html.erb +++ b/app/views/settings/_redmine_plugin_tiny_features_settings.html.erb @@ -108,18 +108,3 @@ // Add to disabled option pagination when select2 option is not checked when the page is launched hidePagination() <% end %> - - -
-

- <%= label_tag '', { style: 'width: auto;' } do %> - <%= check_box_tag "settings[create_related_issue_shortcut]", '1', Setting["plugin_redmine_tiny_features"]["create_related_issue_shortcut"] %> - <%= l("setting_create_related_issue_shortcut") %> - <% end %> -

-

- <%= label_tag l("setting_create_related_issue_shortcut_project_id") %> - <%= select_tag "settings[create_related_issue_shortcut_project_id]", - project_tree_options_for_select(Project.active.sorted, - selected: Project.where(id: Setting["plugin_redmine_tiny_features"]["create_related_issue_shortcut_project_id"]).first) %> -

diff --git a/config/locales/en.yml b/config/locales/en.yml index 541398c..bd407f3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -41,6 +41,3 @@ en: label_issue_display_by_status: "Colorization According to status" field_show_pagination_at_top_results: "Show pagination links at the top of issues results" hide_members_on_project_overview: "Hide members section on project overview page" - label_create_related_issue_shortcut: "Create a related issue" - setting_create_related_issue_shortcut: "Display a shortcut to create a related issue" - setting_create_related_issue_shortcut_project_id: "Project where to create related issues" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 656d711..ad3df4b 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -41,6 +41,3 @@ fr: label_issue_display_by_status: "Colorisation par statut" field_show_pagination_at_top_results: "Afficher les liens de pagination en haut des résultats des demandes" hide_members_on_project_overview: "Masquer la section des membres sur la page d'aperçu des projets" - label_create_related_issue_shortcut: "Créer une demande liée" - setting_create_related_issue_shortcut: "Afficher un raccourci pour créer une demande liée" - setting_create_related_issue_shortcut_project_id: "Projet où créer les demandes liées" diff --git a/init.rb b/init.rb index 412da87..d49a438 100644 --- a/init.rb +++ b/init.rb @@ -23,8 +23,6 @@ 'journalize_note_deletion': Rails.env.test? ? '0' : '1', 'use_select2': Rails.env.test? || !(Redmine::Plugin.installed?(:redmine_base_select2)) ? '0' : '1', 'load_issue_edit_form_asynchronously': Rails.env.test? ? '0' : '1', - 'disable_email_hiding': '', - 'create_related_issue_shortcut': '', - 'create_related_issue_shortcut_project_id': '' + 'disable_email_hiding': '' } end