diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 5bec287..38ad185 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -138,7 +138,13 @@ {% endif %} -
+
+ + +
    {% for commit in diff_commits %}
  • @@ -160,9 +166,9 @@

    No commits found

    {% endfor %}
-
+ -
+
{% if authenticated and pull_request %}
+

{{ patch.new_file_path }}

    @@ -219,11 +225,12 @@ {% endautoescape %} {% endfor %} {% endif %} +
{% if authenticated and pull_request %} {{ mergeform.csrf_token }}
{% endif %} -
+ {% if pull_request and pull_request.comments%}
@@ -252,7 +259,7 @@ (supports the Markdown syntax) -
+
  • Comment
  • Preview
  • @@ -356,9 +363,9 @@ } ); - $( "#tabs" ).tabs(); + $( ".tabs" ).tabs(); - $( "#tabs" ).on('tabsactivate', + $( "#comment" ).on('tabsactivate', function(event, ui) { if (ui.newPanel.selector == '#preview') { var _text = $( "#comment" ).val();