@ -8,9 +8,9 @@
{{ if .LatestCommitUser }}
{{ avatar .LatestCommitUser 2 4 }}
{{ if .LatestCommitUser .FullName }}
<a href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ .LatestCommitUser .FullName }} </strong></a>
<a class="muted" href=" {{ .LatestCommitUser .HomeLink }} "><strong> {{ .LatestCommitUser .FullName }} </strong></a>
{{ 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 }}
{{ else }}
{{ if .LatestCommit .Author }}
@ -54,7 +54,7 @@
{{ svg "octicon-file-submodule" }}
{{ $ refURL : = $ subModuleFile .RefURL AppUrl $ .Repository .FullName $ .SSHDomain }}
{{ 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 }}
{{ $ entry .Name }} <span class="at">@</span> {{ ShortSha $ subModuleFile .RefID }}
{{ end }}
@ -63,16 +63,16 @@
{{ $ subJumpablePathName : = $ entry .GetSubJumpablePathName }}
{{ $ subJumpablePath : = SubJumpablePath $ subJumpablePathName }}
{{ 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 }}
<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 }}
{{ in dex $ subJumpablePath 0 }}
{{ end }}
</a>
{{ else }}
{{ 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 }}
</span>