diff options
author | James Lopez <james@jameslopez.es> | 2016-06-15 17:31:00 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-15 17:31:00 +0200 |
commit | 4bde59341f6d4679b2eefa2c5e332c33c3c76050 (patch) | |
tree | d9c98b030da720f0d413f6ad5e3066cb67559fdd /app/views/notify | |
parent | f6896f9381b9d833e0db4d0e5be95f2ffc64561a (diff) | |
download | gitlab-ce-4bde59341f6d4679b2eefa2c5e332c33c3c76050.tar.gz |
lots of refactoring again based on feedback. Changed the UI slightly and also fixed a small bug
Diffstat (limited to 'app/views/notify')
-rw-r--r-- | app/views/notify/project_was_not_exported_email.html.haml | 6 | ||||
-rw-r--r-- | app/views/notify/project_was_not_exported_email.text.erb | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/views/notify/project_was_not_exported_email.html.haml b/app/views/notify/project_was_not_exported_email.html.haml index 78d4751b64a..c9e9ade2cf1 100644 --- a/app/views/notify/project_was_not_exported_email.html.haml +++ b/app/views/notify/project_was_not_exported_email.html.haml @@ -3,5 +3,7 @@ %p The errors we encountered were: - %h3{style: "background: black; color: red;"} - #{@errors} + %ul + - @errors.each do |error| + %li + error diff --git a/app/views/notify/project_was_not_exported_email.text.erb b/app/views/notify/project_was_not_exported_email.text.erb index ad730d2162b..a07f6edacf7 100644 --- a/app/views/notify/project_was_not_exported_email.text.erb +++ b/app/views/notify/project_was_not_exported_email.text.erb @@ -2,4 +2,5 @@ Project <%= @project.name %> couldn't be exported. The errors we encountered were: -<%= @errors %> +- @errors.each do |error| +<%= error %>
\ No newline at end of file |