File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 4343 {{ end }}
4444 {{ end }}
4545 </div >
46- <div class="flex-item-body tw-flex-col tw-gap-1 tw-mt-2 tw-items-start">
47- {{if .ReadmeExist}}
48- <a class="flex-text-block muted" href="{{.TreeLink}}/{{.FileName}}">
49- {{svg "octicon-book"}} {{ctx.Locale.Tr "readme"}}
50- </a>
51- {{end}}
52- {{if .DetectedRepoLicenses}}
53- <a class="flex-text-block muted" href="{{.RepoLink}}/src/{{.Repository.DefaultBranch}}/{{PathEscapeSegments .LicenseFileName}}" title="{{StringUtils.Join .DetectedRepoLicenses ", "}}">
54- {{svg "octicon-law"}} {{if eq (len .DetectedRepoLicenses) 1}}{{index .DetectedRepoLicenses 0}}{{else}}{{ctx.Locale.Tr "repo.multiple_licenses"}}{{end}}
55- </a>
56- {{end}}
57- {{if .CitiationExist}}
58- {{template "repo/cite/cite_modal" .}}
59- <a class="flex-text-block muted" id="cite-repo-button">
60- {{svg "octicon-cross-reference"}} {{ctx.Locale.Tr "repo.cite_this_repo"}}
61- </a>
62- {{end}}
46+ <div class =" flex-item-body" >
47+ <div class =" tw-flex tw-flex-col tw-gap-1 tw-mt-2" >
48+ {{ if .ReadmeExist }}
49+ <a class =" flex-text-block muted" href =" {{ .TreeLink }} /{{ .FileName }} " >
50+ {{ svg " octicon-book" }} {{ ctx.Locale.Tr " readme" }}
51+ </a >
52+ {{ end }}
53+ {{ if .DetectedRepoLicenses }}
54+ <a class =" flex-text-block muted" href =" {{ .RepoLink }} /src/{{ .Repository.DefaultBranch }} /{{ PathEscapeSegments .LicenseFileName }} " title =" {{ StringUtils.Join .DetectedRepoLicenses " , " }} " >
55+ {{ svg " octicon-law" }} {{ if eq (len .DetectedRepoLicenses ) 1 }}{{ index .DetectedRepoLicenses 0 }} {{ else }} {{ ctx.Locale.Tr " repo.multiple_licenses" }}{{ end }}
56+ </a >
57+ {{ end }}
58+ {{ if .CitiationExist }}
59+ {{ template " repo/cite/cite_modal" .}}
60+ <a class =" flex-text-block muted" id =" cite-repo-button" >
61+ {{ svg " octicon-cross-reference" }} {{ ctx.Locale.Tr " repo.cite_this_repo" }}
62+ </a >
63+ {{ end }}
64+ </div >
6365 </div >
6466 </div >
6567 </div >
You can’t perform that action at this time.
0 commit comments