@ -9,6 +9,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody class="commit-list">
<tbody class="commit-list">
{{ $ commitRepoLink : = $ .RepoLink }} {{ if $ .CommitRepoLink }} {{ $ commitRepoLink = $ .CommitRepoLink }} {{ end }}
{{ range .Commits }}
{{ range .Commits }}
<tr>
<tr>
<td class="author">
<td class="author">
@ -41,9 +42,9 @@
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if $ .PageIsWiki }}
{{ if $ .PageIsWiki }}
<a href=" {{ $ . RepoLink}} /wiki/commit/ {{ .ID }} " rel="nofollow" class=" {{ $ class }} ">
<a href=" {{ $ commit RepoLink}} /wiki/commit/ {{ .ID }} " rel="nofollow" class=" {{ $ class }} ">
{{ else if $ .Reponame }}
{{ else if $ .Reponame }}
<a href=" {{ $ . RepoLink}} /commit/ {{ .ID }} " rel="nofollow" class=" {{ $ class }} ">
<a href=" {{ $ commit RepoLink}} /commit/ {{ .ID }} " rel="nofollow" class=" {{ $ class }} ">
{{ else }}
{{ else }}
<span class=" {{ $ class }} ">
<span class=" {{ $ class }} ">
{{ end }}
{{ end }}
@ -62,8 +63,8 @@
{{ if $ .PageIsWiki }}
{{ if $ .PageIsWiki }}
<span class="commit-summary {{ if gt .ParentCount 1 }} grey text {{ end }} " title=" {{ .Summary }} "> {{ .Summary | RenderEmoji }} </span>
<span class="commit-summary {{ if gt .ParentCount 1 }} grey text {{ end }} " title=" {{ .Summary }} "> {{ .Summary | RenderEmoji }} </span>
{{ else }}
{{ else }}
{{ $ commitLink : = printf "%s/commit/%s" $ . RepoLink ( PathEscape .ID .String ) }}
{{ $ commitLink : = printf "%s/commit/%s" $ commit RepoLink ( PathEscape .ID .String ) }}
<span class="commit-summary {{ if gt .ParentCount 1 }} grey text {{ end }} " title=" {{ .Summary }} "> {{ RenderCommitMessageLinkSubject .Message $ . RepoLink $ commitLink $ .Repository .ComposeMetas }} </span>
<span class="commit-summary {{ if gt .ParentCount 1 }} grey text {{ end }} " title=" {{ .Summary }} "> {{ RenderCommitMessageLinkSubject .Message $ commit RepoLink $ commitLink $ .Repository .ComposeMetas }} </span>
{{ end }}
{{ end }}
</span>
</span>
{{ if IsMultilineCommitMessage .Message }}
{{ if IsMultilineCommitMessage .Message }}
@ -71,7 +72,7 @@
{{ end }}
{{ end }}
{{ template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $ }}
{{ template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $ }}
{{ if IsMultilineCommitMessage .Message }}
{{ if IsMultilineCommitMessage .Message }}
<pre class="commit-body" style="display: none;"> {{ RenderCommitBody .Message $ . RepoLink $ .Repository .ComposeMetas }} </pre>
<pre class="commit-body" style="display: none;"> {{ RenderCommitBody .Message $ commit RepoLink $ .Repository .ComposeMetas }} </pre>
{{ end }}
{{ end }}
</td>
</td>
<td class="text right aligned"> {{ TimeSince .Author .When $ .Lang }} </td>
<td class="text right aligned"> {{ TimeSince .Author .When $ .Lang }} </td>