Commit 4fe67219 authored by Asmaa Hassan's avatar Asmaa Hassan Committed by Simon Knox

Make the waiting period for deletion dynamic on project removal page

parent e35cc79a
- return unless @project.feature_available?(:adjourned_deletion_for_projects_and_groups)
%p
%span.gl-text-gray-500= _('Projects will be permanently deleted after a 7-day waiting period.')
%span.gl-text-gray-500= _('Projects will be permanently deleted after a %{waiting_period}-day waiting period.').html_safe % { waiting_period: ::Gitlab::CurrentSettings.deletion_adjourned_period }
= link_to(_('Customizable by an administrator.'), help_page_path('user/admin_area/settings/visibility_and_access_controls', anchor: 'default-deletion-delay'))
%p= marked_for_removal_message(@project)
---
title: Make the waiting period for deletion dynamic on project removal page
merge_request: 50597
author:
type: changed
......@@ -22626,7 +22626,7 @@ msgstr ""
msgid "Projects to index"
msgstr ""
msgid "Projects will be permanently deleted after a 7-day waiting period."
msgid "Projects will be permanently deleted after a %{waiting_period}-day waiting period."
msgstr ""
msgid "Projects will be permanently deleted immediately."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment