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

Add a shared with column for the user

Klaus Zandersd91498679d77
diff --git a/app/models/queries/work_packages/columns/property_column.rb b/app/models/queries/work_packages/columns/property_column.rb
index 7ad8d7d7c7f..93fc1c8e1d9 100644
--- a/app/models/queries/work_packages/columns/property_column.rb
+++ b/app/models/queries/work_packages/columns/property_column.rb
@@ -132,6 +132,11 @@ class Queries::WorkPackages::Columns::PropertyColumn < Queries::WorkPackages::Co
},
duration: {
sortable: "#{WorkPackage.table_name}.duration"
+ },
+ shared_with_users: {
+ sortable: false,
+ groupable: false
+
}
}
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 51bd8c09893..f813f56e279 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -317,14 +317,14 @@ en:
columns:
shared: "Shared"
filters:
- all_shares: 'All shares'
+ all_shares: "All shares"
menu:
- all: 'All'
- invited: 'Invited'
- locked: 'Locked'
- project_roles: 'Project roles'
- wp_shares: 'Work package shares'
- groups: 'Groups'
+ all: "All"
+ invited: "Invited"
+ locked: "Locked"
+ project_roles: "Project roles"
+ wp_shares: "Work package shares"
+ groups: "Groups"
my:
access_token:
@@ -709,6 +709,7 @@ en:
readonly: "Read only"
remaining_hours: "Remaining work"
remaining_time: "Remaining work"
+ shared_with_users: "Shared users"
schedule_manually: "Manual scheduling"
spent_hours: "Spent time"
spent_time: "Spent time"
@@ -2342,11 +2343,11 @@ en:
mention:
subject: "%{user_name} mentioned you in #%{id} - %{subject}"
notification:
- center: 'To notification center'
- see_in_center: 'See comment in notification center'
- settings: 'Change email settings'
- salutation: 'Hello %{user}'
- salutation_full_name: 'Full name'
+ center: "To notification center"
+ see_in_center: "See comment in notification center"
+ settings: "Change email settings"
+ salutation: "Hello %{user}"
+ salutation_full_name: "Full name"
work_packages:
created_at: "Created at %{timestamp} by %{user} "
login_to_see_all: "Log in to see all notifications."
@@ -3294,12 +3295,12 @@ en:
one: "1 user"
other: "%{count} users"
filter:
- project_member: 'Project member'
- not_project_member: 'Not project member'
- project_group: 'Project group'
- not_project_group: 'Not project group'
- role: 'Role'
- type: 'Type'
+ project_member: "Project member"
+ not_project_member: "Not project member"
+ project_group: "Project group"
+ not_project_group: "Not project group"
+ role: "Role"
+ type: "Type"
label_search: "Search for users to invite"
label_search_placeholder: "Search by user or email address"
label_toggle_all: "Toggle all shares"