summaryrefslogtreecommitdiff
path: root/app/views/commits/_diff_head.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/commits/_diff_head.html.haml')
-rw-r--r--app/views/commits/_diff_head.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/commits/_diff_head.html.haml b/app/views/commits/_diff_head.html.haml
index 11d6ca169d0..710e8857649 100644
--- a/app/views/commits/_diff_head.html.haml
+++ b/app/views/commits/_diff_head.html.haml
@@ -3,24 +3,24 @@
%li
- if diff.deleted_file
%span.removed_file
- %a{:href => "##{diff.old_path}"}
+ %a{href: "##{diff.old_path}"}
= diff.old_path
= image_tag "diff_file_delete.png"
- elsif diff.renamed_file
%span.moved_file
- %a{:href => "##{diff.new_path}"}
+ %a{href: "##{diff.new_path}"}
= diff.old_path
= "->"
= diff.new_path
= image_tag "diff_file_notice.png"
- elsif diff.new_file
%span.new_file
- %a{:href => "##{diff.new_path}"}
+ %a{href: "##{diff.new_path}"}
= diff.new_path
= image_tag "diff_file_add.png"
- else
%span.edit_file
- %a{:href => "##{diff.new_path}"}
+ %a{href: "##{diff.new_path}"}
= diff.new_path
= image_tag "diff_file_info.png"