Skip to content

Commit 4e52afb

Browse files
committed
Make lint
1 parent 6661746 commit 4e52afb

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

templates/repo/find/files.tmpl

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
{{template "base/head" .}}
22
<div class="page-content repository file list">
3-
{{template "repo/header" .}}
4-
<div class="ui container" id="repo-file-find-container">
5-
<input type="hidden" id="ownerName" value="{{.OwnerName}}">
6-
<input type="hidden" id="repoName" value="{{.RepoName}}">
7-
<input type="hidden" id="branchName" value="{{.BranchName}}">
8-
<input type="hidden" id="treeLink" value="{{.TreeLink}}">
9-
<div class="repo-title">
10-
<a href="{{$.RepoLink}}">{{.RepoName}}</a>
11-
<span class="mr-3 ml-3">/</span>
12-
<input id="repo-file-find-input" type="text" style="border:none;outline:none;" autofocus="autofocus">
13-
</div>
14-
<table id="repo-find-files-table" class="ui single line table">
15-
<tbody>
16-
{{/* {{range $entry := .Files}}
17-
<tr>
18-
<td class="name four wide">
19-
<span class="truncate">
20-
{{svg (printf "octicon-%s" (EntryIcon $entry))}}
21-
<a class="find-file-name" href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
22-
</span>
23-
</td>
24-
</tr>
25-
{{end}} */}}
26-
</tbody>
27-
</table>
28-
<div id="no-hit-prompt" class="ui row center" style="margin-top: 60px;display:none;">
29-
<h3>{{.i18n.Tr "repo.filter_repo_files_no_matching"}}</h3>
30-
</div>
31-
</div>
3+
{{template "repo/header" .}}
4+
<div class="ui container" id="repo-file-find-container">
5+
<input type="hidden" id="ownerName" value="{{.OwnerName}}">
6+
<input type="hidden" id="repoName" value="{{.RepoName}}">
7+
<input type="hidden" id="branchName" value="{{.BranchName}}">
8+
<input type="hidden" id="treeLink" value="{{.TreeLink}}">
9+
<div class="repo-title">
10+
<a href="{{$.RepoLink}}">{{.RepoName}}</a>
11+
<span class="mr-3 ml-3">/</span>
12+
<input id="repo-file-find-input" type="text" style="border:none;outline:none;" autofocus="autofocus">
13+
</div>
14+
<table id="repo-find-files-table" class="ui single line table">
15+
<tbody>
16+
{{/* {{range $entry := .Files}}
17+
<tr>
18+
<td class="name four wide">
19+
<span class="truncate">
20+
{{svg (printf "octicon-%s" (EntryIcon $entry))}}
21+
<a class="find-file-name" href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
22+
</span>
23+
</td>
24+
</tr>
25+
{{end}} */}}
26+
</tbody>
27+
</table>
28+
<div id="no-hit-prompt" class="ui row center" style="margin-top: 60px;display:none;">
29+
<h3>{{.i18n.Tr "repo.filter_repo_files_no_matching"}}</h3>
30+
</div>
31+
</div>
3232
</div>
3333
{{template "base/footer" .}}

0 commit comments

Comments
 (0)