diff options
author | Diego Souza <diegosouza.br@gmail.com> | 2017-07-04 18:18:51 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-04 18:18:51 +0300 |
commit | 2210a71b17d41ca0f1b5b4e619aa7fa8f41ad5cd (patch) | |
tree | c76b9979126dbaa297dcb079dfb46a0d79683b6d /app/helpers/groups_helper.rb | |
parent | 016b9f2565f85b9c77a5a779b64483ca1d4e1776 (diff) |
Remove group modal like remove project modal. Closes #33130
Diffstat (limited to 'app/helpers/groups_helper.rb')
-rw-r--r-- | app/helpers/groups_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index af0b3e9c5bc..8cd61f738e1 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -58,6 +58,11 @@ module GroupsHelper IssuesFinder.new(current_user, group_id: group.id).execute end + def remove_group_message(group) + _("You are going to remove %{group_name}.\nRemoved groups CANNOT be restored!\nAre you ABSOLUTELY sure?") % + { group_name: group.name } + end + private def group_title_link(group, hidable: false) |