diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-26 16:17:16 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 11:58:36 +0530 |
commit | fb3e365412954b5d23a048518d70c15894cb9686 (patch) | |
tree | 966c9a9f515f2cd64ef7b00593777675c1c66ff5 /app/views/notify/repository_push_email.html.haml | |
parent | 8e2a76d2dee86ed05bc5ed144424a33b45f92da7 (diff) | |
download | gitlab-ce-fb3e365412954b5d23a048518d70c15894cb9686.tar.gz |
HAMLLint: Fix `SpaceInsideHashAttributes` offences
Diffstat (limited to 'app/views/notify/repository_push_email.html.haml')
-rw-r--r-- | app/views/notify/repository_push_email.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml index 25883de257c..36858fa6f34 100644 --- a/app/views/notify/repository_push_email.html.haml +++ b/app/views/notify/repository_push_email.html.haml @@ -29,7 +29,7 @@ %ul - @message.diffs.each do |diff| %li.file-stats - %a{href: "#{@message.target_url if @message.disable_diffs?}##{hexdigest(diff.file_path)}" } + %a{ href: "#{@message.target_url if @message.disable_diffs?}##{hexdigest(diff.file_path)}" } - if diff.deleted_file %span.deleted-file − @@ -54,8 +54,8 @@ %h4 Changes: - diff_files.each do |diff_file| - file_hash = hexdigest(diff_file.file_path) - %li{id: file_hash} - %a{href: @message.target_url + "##{file_hash}"}< + %li{ id: file_hash } + %a{ href: @message.target_url + "##{file_hash}" }< - if diff_file.deleted_file %strong< = diff_file.old_path |