diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html index 42c1283..af1be7b 100644 --- a/progit/templates/repo_info.html +++ b/progit/templates/repo_info.html @@ -102,7 +102,7 @@ {% else %}

Last 10 commits

{% endif %} - {% if diff_commits %} + {% if diff_commits and authenticated %} Request pull @@ -118,10 +118,12 @@ {{ commit.message.split('\n')[0] }} {% if diff_commits and commit.oid.hex in diff_commits %} * + {% if authenticated %} (Request pull) {% endif %} + {% endif %} {% endfor %}