@ -8,9 +8,9 @@
{{ if .LatestCommitUser }}
{{ if .LatestCommitUser }}
{{ avatar .LatestCommitUser 2 4 }}
{{ avatar .LatestCommitUser 2 4 }}
{{ if .LatestCommitUser .FullName }}
{{ if .LatestCommitUser .FullName }}
<a href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ .LatestCommitUser .FullName }} </strong></a>
<a class="muted" href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ .LatestCommitUser .FullName }} </strong></a>
{{ else }}
{{ else }}
<a href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ if .LatestCommit .Author }} {{ .LatestCommit .Author .Name }} {{ else }} {{ .LatestCommitUser .Name }} {{ end }} </strong></a>
<a class="muted" href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ if .LatestCommit .Author }} {{ .LatestCommit .Author .Name }} {{ else }} {{ .LatestCommitUser .Name }} {{ end }} </strong></a>
{{ end }}
{{ end }}
{{ else }}
{{ else }}
{{ if .LatestCommit .Author }}
{{ if .LatestCommit .Author }}
@ -54,7 +54,7 @@
{{ svg "octicon-file-submodule" }}
{{ svg "octicon-file-submodule" }}
{{ $ refURL : = $ subModuleFile .RefURL AppUrl $ .Repository .FullName $ .SSHDomain }}
{{ $ refURL : = $ subModuleFile .RefURL AppUrl $ .Repository .FullName $ .SSHDomain }}
{{ if $ refURL }}
{{ if $ refURL }}
<a href=" {{ $ refURL }} "> {{ $ entry .Name }} </a><span class="at">@</span><a href=" {{ $ refURL }} /commit/ {{ PathEscape $ subModuleFile .RefID }} "> {{ ShortSha $ subModuleFile .RefID }} </a>
<a class="muted" href=" {{ $ refURL }} "> {{ $ entry .Name }} </a><span class="at">@</span><a href=" {{ $ refURL }} /commit/ {{ PathEscape $ subModuleFile .RefID }} "> {{ ShortSha $ subModuleFile .RefID }} </a>
{{ else }}
{{ else }}
{{ $ entry .Name }} <span class="at">@</span> {{ ShortSha $ subModuleFile .RefID }}
{{ $ entry .Name }} <span class="at">@</span> {{ ShortSha $ subModuleFile .RefID }}
{{ end }}
{{ end }}
@ -63,16 +63,16 @@
{{ $ subJumpablePathName : = $ entry .GetSubJumpablePathName }}
{{ $ subJumpablePathName : = $ entry .GetSubJumpablePathName }}
{{ $ subJumpablePath : = SubJumpablePath $ subJumpablePathName }}
{{ $ subJumpablePath : = SubJumpablePath $ subJumpablePathName }}
{{ svg "octicon-file-directory-fill" }}
{{ svg "octicon-file-directory-fill" }}
<a href=" {{ $ .TreeLink }} / {{ PathEscapeSegments $ subJumpablePathName }} " title=" {{ $ subJumpablePathName }} ">
<a class="muted" href=" {{ $ .TreeLink }} / {{ PathEscapeSegments $ subJumpablePathName }} " title=" {{ $ subJumpablePathName }} ">
{{ if eq ( len $ subJumpablePath ) 2 }}
{{ if eq ( len $ subJumpablePath ) 2 }}
<span class="jumpable-path "> {{ in dex $ subJumpablePath 0 }} </span> {{ in dex $ subJumpablePath 1 }}
<span class="color-text-light-2 "> {{ in dex $ subJumpablePath 0 }} </span> {{ in dex $ subJumpablePath 1 }}
{{ else }}
{{ else }}
{{ in dex $ subJumpablePath 0 }}
{{ in dex $ subJumpablePath 0 }}
{{ end }}
{{ end }}
</a>
</a>
{{ else }}
{{ else }}
{{ svg ( printf "octicon-%s" ( EntryIcon $ entry ) ) }}
{{ svg ( printf "octicon-%s" ( EntryIcon $ entry ) ) }}
<a href=" {{ $ .TreeLink }} / {{ PathEscapeSegments $ entry .Name }} " title=" {{ $ entry .Name }} "> {{ $ entry .Name }} </a>
<a class="muted" href=" {{ $ .TreeLink }} / {{ PathEscapeSegments $ entry .Name }} " title=" {{ $ entry .Name }} "> {{ $ entry .Name }} </a>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</span>
</span>