debian-mirror-gitlab/app/views/users/_deletion_guidance.html.haml

12 lines
792 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- user = local_assigns.fetch(:user)
%ul
%li
%p
2020-05-24 23:13:21 +05:30
- link_start = '<a href="%{url}">'.html_safe % { url: help_page_path("user/profile/account/delete_account", anchor: "associated-records") }
= _('Certain user content will be moved to a system-wide "Ghost User" in order to maintain content for posterity. For further information, please refer to the %{link_start}user account deletion documentation.%{link_end}').html_safe % { link_start: link_start, link_end: '</a>'.html_safe }
2017-08-17 22:00:37 +05:30
- personal_projects_count = user.personal_projects.count
- unless personal_projects_count.zero?
2020-05-24 23:13:21 +05:30
%li
2020-06-23 00:09:42 +05:30
= n_('%d personal project will be removed and cannot be restored.', '%d personal projects will be removed and cannot be restored.', personal_projects_count) % personal_projects_count