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

import_issues_csv_email.html.haml « notify « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f30d2b5f078dcfea172cf68926eb42025f8613b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- text_style = 'font-size:16px; text-align:center;  line-height:30px;'

%p{ style: text_style }
  Your CSV import for project
  %a{ href: project_url(@project), style: "color:#3777b0; text-decoration:none;" }
    = @project.full_name
  has been completed.

%p{ style: text_style }
  #{pluralize(@results[:success], 'issue')} imported.

- if @results[:error_lines].present?
  %p{ style: text_style }
    Errors found on line #{'number'.pluralize(@results[:error_lines].size)}: #{@results[:error_lines].join(', ')}. Please check if these lines have an issue title.

- if @results[:parse_error]
  %p{ style: text_style }
    Error parsing CSV file. Please make sure it has the correct format: a delimited text file that uses a comma to separate values.