diff options
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/commits_list.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index 9f1d182158..b9b42ebb23 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -43,6 +43,8 @@ {{end}} {{if $.PageIsWiki}} <a href="{{$commitRepoLink}}/wiki/commit/{{.ID}}" rel="nofollow" class="{{$class}}"> + {{else if $.PageIsPullCommits}} + <a href="{{$commitRepoLink}}/pulls/{{$.Issue.Index}}/commits/{{.ID}}" rel="nofollow" class="{{$class}}"> {{else if $.Reponame}} <a href="{{$commitRepoLink}}/commit/{{.ID}}" rel="nofollow" class="{{$class}}"> {{else}} @@ -54,6 +56,8 @@ {{end}} {{if $.PageIsWiki}} </a> + {{else if $.PageIsPullCommits}} + </a> {{else if $.Reponame}} </a> {{else}} |