mirror of
https://github.com/go-gitea/gitea
synced 2025-01-03 13:06:02 +01:00
fix lint-error
This commit is contained in:
parent
3be6a1dc15
commit
5cf8d37eb1
@ -1,9 +1,9 @@
|
||||
<div id="diff-file-tree" class="file-tree tw-hidden not-mobile">
|
||||
<div class="file-tree-items">
|
||||
{{range .Files}}
|
||||
{{template "repo/diff/file_tree_item" .}}
|
||||
{{template "repo/diff/file_tree_item" .}}
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
{{if .IsIncomplete}}
|
||||
<div class="tw-pt-1">
|
||||
<a class="ui basic tiny button diff-show-more-files" data-href="{{ .LoadMoreLink }}">{{ctx.Locale.Tr "repo.diff.show_more"}}</a>
|
||||
|
@ -17,16 +17,16 @@
|
||||
</a>
|
||||
{{else}}
|
||||
<div class="item-directory" title="{{ .Name }}">
|
||||
<!-- directory -->
|
||||
<!-- directory -->
|
||||
{{svg "octicon-chevron-down"}}
|
||||
{{svg "octicon-file-directory-open-fill" 16 "text primary"}}
|
||||
<span class="gt-ellipsis">{{ .Name }}</span>
|
||||
</div>
|
||||
<span class="gt-ellipsis">{{ .Name }}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
{{if and .Children (gt (len .Children) 0)}}
|
||||
<div class="sub-items">
|
||||
{{range .Children}}
|
||||
{{template "repo/diff/file_tree_item" .}}
|
||||
{{template "repo/diff/file_tree_item" .}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user