diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
commit | 585826cb22ecea5998a2c2a4675735c94bdeedac (patch) | |
tree | 5b05f0b30d33cef48963609e8a18a4dff260eab3 /app/helpers/members_helper.rb | |
parent | df221d036e5d0c6c0ee4d55b9c97f481ee05dee8 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-eev16.6.0-rc42
Diffstat (limited to 'app/helpers/members_helper.rb')
-rw-r--r-- | app/helpers/members_helper.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index e4c1d7932aa..600e5f06c61 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -30,22 +30,11 @@ module MembersHelper "#{text} #{action} the #{member.source.human_name} #{source_text(member)}?" end - def remove_member_title(member) - action = member.request? ? 'Deny access request' : 'Remove user' - - "#{action} from #{source_text(member)}" - end - def leave_confirmation_message(member_source) "Are you sure you want to leave the " \ "\"#{member_source.human_name}\" #{member_source.model_name.to_s.humanize(capitalize: false)}?" end - def filter_group_project_member_path(options = {}) - options = params.slice(:search, :sort).merge(options).permit! - "#{request.path}?#{options.to_param}" - end - def member_path(member) if member.is_a?(GroupMember) group_group_member_path(member.source, member) |