Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_inactive_project_deletion_alert.html.haml « projects « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0030265f0071bc4e63908b40139ec05bee5d695b (plain)
1
2
3
4
5
6
7
- if show_inactive_project_deletion_banner?(@project)
  - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('administration/inactive_project_deletion') }
  - link_end = '</a>'.html_safe
  - deletion_date = inactive_project_deletion_date(@project)
  - title = _('Due to inactivity, this project is scheduled to be deleted on %{deletion_date}. %{link_start}Why is this scheduled?%{link_end}').html_safe % { deletion_date: deletion_date, link_start: link_start, link_end: link_end }

  = render Pajamas::AlertComponent.new(title: title, variant: :warning, alert_options: { class: 'gl-pb-3' }, dismissible: false)