diff options
author | James Lopez <james@jameslopez.es> | 2016-06-22 08:48:18 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-22 08:48:18 +0200 |
commit | 5adc08596287ccb28e0b6489896b71d4943750ae (patch) | |
tree | 1478237eaf532893e82e5f2ffe6584b4f6bd2d90 /app/views/notify | |
parent | d19379e00d95a3153bfe608ba0404cdbf82d5246 (diff) | |
download | gitlab-ce-5adc08596287ccb28e0b6489896b71d4943750ae.tar.gz |
refactor to use haml insteadfix/error-typo
Diffstat (limited to 'app/views/notify')
-rw-r--r-- | app/views/notify/project_was_not_exported_email.text.erb | 6 | ||||
-rw-r--r-- | app/views/notify/project_was_not_exported_email.text.haml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/notify/project_was_not_exported_email.text.erb b/app/views/notify/project_was_not_exported_email.text.erb deleted file mode 100644 index a07f6edacf7..00000000000 --- a/app/views/notify/project_was_not_exported_email.text.erb +++ /dev/null @@ -1,6 +0,0 @@ -Project <%= @project.name %> couldn't be exported. - -The errors we encountered were: - -- @errors.each do |error| -<%= error %>
\ No newline at end of file diff --git a/app/views/notify/project_was_not_exported_email.text.haml b/app/views/notify/project_was_not_exported_email.text.haml new file mode 100644 index 00000000000..b27cb620b9e --- /dev/null +++ b/app/views/notify/project_was_not_exported_email.text.haml @@ -0,0 +1,6 @@ += "Project #{@project.name} couldn't be exported." + += "The errors we encountered were:" + +- @errors.each do |error| + #{error}
\ No newline at end of file |