-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/release/14.4' into task/56644-144-documentat…
…ion-update-pageheaders-and-subheaders-in-the-admin-pages # Conflicts: # docs/system-admin-guide/manage-work-packages/work-package-status/openproject_system_guide_create_new_wp_status.png # docs/system-admin-guide/manage-work-packages/work-package-status/openproject_system_guide_edit_new_wp_status.png
- Loading branch information
Showing
298 changed files
with
10,122 additions
and
10,138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Contributors: Please check our [PR guide](https://www.openproject.org/docs/development/code-review-guidelines/#preparing-your-pull-request) before opening a PR. --> | ||
|
||
<!-- Reviewers: Please check our [Review guide](https://www.openproject.org/docs/development/code-review-guidelines/#reviewing) --> | ||
|
||
# What are you trying to accomplish? | ||
<!-- Provide a description of the changes. --> | ||
|
||
## Screenshots | ||
<!-- Provide before/after screenshots, videos, or graphs for any visual changes; otherwise, remove this section --> | ||
|
||
# What approach did you choose and why? | ||
<!-- This section is a place for you to describe your thought process in making these changes. | ||
List any tradeoffs you made to take on or pay down tech debt. | ||
Describe any alternative approaches you considered and why you discarded them. --> | ||
|
||
# Ticket | ||
<!-- Provide the link to respective work package --> | ||
|
||
# Merge checklist | ||
|
||
- [ ] Added/updated tests | ||
- [ ] Added/updated documentation in Lookbook (patterns, previews, etc) | ||
- [ ] Tested major browsers (Chrome, Firefox, Edge, ...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
app/seeders/basic_data/project_custom_field_section_seeder.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#-- copyright | ||
# OpenProject is an open source project management software. | ||
# Copyright (C) 2012-2024 the OpenProject GmbH | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License version 3. | ||
# | ||
# 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 | ||
# | ||
# 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. | ||
#++ | ||
module BasicData | ||
class ProjectCustomFieldSectionSeeder < ModelSeeder | ||
self.model_class = ProjectCustomFieldSection | ||
self.seed_data_model_key = "project_custom_field_sections" | ||
self.attribute_names_for_lookups = %i[position] | ||
|
||
def model_attributes(section_data) | ||
{ | ||
name: section_data["name"], | ||
position: section_data["position"] | ||
} | ||
end | ||
end | ||
end |
Oops, something went wrong.