debian-mirror-gitlab/app/views/notify/_issuable_csv_export.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
829 B
Text
Raw Normal View History

2023-05-27 22:25:52 +05:30
- type = type.to_s.humanize.downcase
2021-01-03 14:25:43 +05:30
%p{ style: 'font-size:18px; text-align:center; line-height:30px;' }
- project_link = link_to(@project.full_name, project_url(@project), style: "color:#3777b0; text-decoration:none; display:block;")
2023-05-27 22:25:52 +05:30
= _('Your CSV export of %{count} from project %{project_link} has been added to this email as an attachment.').html_safe % { count: pluralize(@written_count, type.titleize.downcase), project_link: project_link }
2021-01-03 14:25:43 +05:30
- if @truncated
%p
2023-05-27 22:25:52 +05:30
= _('This attachment has been truncated to avoid exceeding the maximum allowed attachment size of %{size_limit}. %{written_count} of %{count} %{issuables} have been included. Consider re-exporting with a narrower selection of %{issuables}.') % { written_count: @written_count, count: @count, issuables: type.pluralize, size_limit: @size_limit }