|
|
|
@ -12,6 +12,11 @@
|
|
|
|
|
<strong class="file-name">{{.FileName}}</strong><span class="file-size">{{FileSize .FileSize}}</span>
|
|
|
|
|
{{end}}
|
|
|
|
|
{{if not .ReadmeInList}}
|
|
|
|
|
{{if not .IsCommit}}
|
|
|
|
|
<a class="right" href="{{.RepoLink}}/src/{{.CommitId}}/{{.TreeName}}">
|
|
|
|
|
<button class="btn btn-medium btn-gray btn-right-radius btn-comb">{{.i18n.Tr "repo.file_permalink"}}</button>
|
|
|
|
|
</a>
|
|
|
|
|
{{end}}
|
|
|
|
|
<a class="right" href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}/{{.TreeName}}">
|
|
|
|
|
<button class="btn btn-medium btn-gray btn-right-radius btn-comb">{{.i18n.Tr "repo.file_history"}}</button>
|
|
|
|
|
</a>
|
|
|
|
|