|
|
|
@ -45,7 +45,6 @@ |
|
|
|
|
<tr> |
|
|
|
|
{{if $entry.IsSubModule}} |
|
|
|
|
<td> |
|
|
|
|
<span class="truncate"> |
|
|
|
|
{{svg "octicon-file-submodule" 16}} |
|
|
|
|
{{$refURL := $commit.RefURL AppUrl $.Repository.FullName}} |
|
|
|
|
{{if $refURL}} |
|
|
|
@ -53,11 +52,9 @@ |
|
|
|
|
{{else}} |
|
|
|
|
{{$entry.Name}} @ {{ShortSha $commit.RefID}} |
|
|
|
|
{{end}} |
|
|
|
|
</span> |
|
|
|
|
</td> |
|
|
|
|
{{else}} |
|
|
|
|
<td class="name four wide"> |
|
|
|
|
<span class="truncate"> |
|
|
|
|
{{if $entry.IsDir}} |
|
|
|
|
{{$subJumpablePathName := $entry.GetSubJumpablePathName}} |
|
|
|
|
{{$subJumpablePath := SubJumpablePath $subJumpablePathName}} |
|
|
|
@ -73,13 +70,10 @@ |
|
|
|
|
{{svg (printf "octicon-%s" (EntryIcon $entry)) 16}} |
|
|
|
|
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a> |
|
|
|
|
{{end}} |
|
|
|
|
</span> |
|
|
|
|
</td> |
|
|
|
|
{{end}} |
|
|
|
|
<td class="message nine wide"> |
|
|
|
|
<span class="truncate"> |
|
|
|
|
<a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a> |
|
|
|
|
</span> |
|
|
|
|
</td> |
|
|
|
|
<td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td> |
|
|
|
|
</tr> |
|
|
|
|