Skip to content

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

Merge branch 'release/13.0' into dev

Eric Schubert7c81f09b6a16
diff --cc modules/storages/app/views/storages/admin/storages/edit.html.erb
index c9343bb55b2,3961fc19069..1bed51f010e
--- a/modules/storages/app/views/storages/admin/storages/edit.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/edit.html.erb
@@@ -1,39 -1,14 +1,40 @@@
-<!-- Standard Ruby view, please see the controller for comments -->
+<%#-- copyright
+OpenProject is an open source project management software.
+Copyright (C) 2012-2023 the OpenProject GmbH
-<!-- We want to hide client_secret from the user while allowing the user to edit the other attributes -->
-<% html_title t(:label_administration), t("project_module_storages"), t('label_edit_x', x: @object.name) %>
-<% local_assigns[:additional_breadcrumb] = @object.name %>
-<%= toolbar title: t('label_edit_x', x: @object.name) %>
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License version 3.
-<%= render(::Storages::Admin::ConfigurationChecksComponent.new(storage: @object)) %>
+OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+Copyright (C) 2006-2013 Jean-Philippe Lang
+Copyright (C) 2010-2013 the ChiliProject Team
-<%= labelled_tabular_form_for @object, url: admin_settings_storage_path(@object), as: :storages_storage do |f| -%>
- <%= render partial: 'form', locals: { f: f } %>
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+See COPYRIGHT and LICENSE files for more details.
++
+++#%>
+
+<% html_title t(:label_administration), t("project_module_storages"), t('label_edit_x', x: @storage.name) %>
+<% local_assigns[:additional_breadcrumb] = @storage.name %>
+<%= toolbar title: t('label_edit_x', x: @storage.name) %>
+
+<%= render(::Storages::Admin::ConfigurationChecksComponent.new(storage: @storage)) %>
+
+<%= labelled_tabular_form_for @storage, url: admin_settings_storage_path(@storage), as: :storages_storage do |f| -%>
+ <%= render partial: "storages/admin/storages/#{@storage.short_provider_type}/edit", locals: { f: f } %>
<%= styled_button_tag t(:button_save), class: "-highlight -with-icon icon-checkmark" %>
<% end %>