diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html
index 01727a6..4efef79 100644
--- a/progit/templates/pull_request.html
+++ b/progit/templates/pull_request.html
@@ -108,17 +108,28 @@
{% if diff %}
{% for patch in diff %}
-
-
+
+
+ {{ patch.new_file_path }}
+
- {{ patch.new_file_path }}
-
+
+
+ View
+
+
+
{% autoescape false %}
{{ patch | patch_to_diff | html_diff | format_loc(
filename=patch.new_file_path,
@@ -151,7 +162,7 @@
{% if pull_request %}
{# These lines are only for existing pull-requests, not new ones #}
$('#cancel_pr').click(function(){
- return window.confirm("Are you sure you want to close this requested pull?");
+ return window.confirm("Are you sure you want to close this requested pull?");
});
});
@@ -192,7 +203,7 @@
comment();
});
} else {
- next_row.prev().find('.pr_comment_form').parent().remove();
+ next_row.prev().find('.pr_comment_form').parent().remove();
}
}
);