Commit 527bbf6 1 parent 5feb31f commit 527bbf6 Copy full SHA for 527bbf6
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
{{range $result := .SearchResults}}
12
12
{{$repo := (index $.RepoMaps .RepoID)}}
13
13
<div class="diff-file-box diff-box file-content non-diff-file-content repo-search-result">
14
- <h4 class="ui top attached normal header">
15
- <span class="file">
14
+ <h4 class="ui top attached normal header gt-df gt-fw ">
15
+ <span class="file gt-f1 ">
16
16
<a rel="nofollow" href="{{$repo.Link}}">{{$repo.FullName}}</a>
17
17
{{if $repo.IsArchived}}
18
18
<span class="ui basic label">{{$.locale.Tr "repo.desc.archived"}}</span>
19
19
{{end}}
20
20
- {{.Filename}}
21
21
</span>
22
- <a class="ui basic tiny button" rel="nofollow" href="{{$repo.Link}}/src/commit/{{$result.CommitID | PathEscape}}/{{.Filename | PathEscapeSegments}}">{{$.locale.Tr "repo.diff.view_file"}}</a>
22
+ <a role="button" class="ui basic tiny button" rel="nofollow" href="{{$repo.Link}}/src/commit/{{$result.CommitID | PathEscape}}/{{.Filename | PathEscapeSegments}}">{{$.locale.Tr "repo.diff.view_file"}}</a>
23
23
</h4>
24
24
<div class="ui attached table segment">
25
25
<div class="file-body file-code code-view">
Original file line number Diff line number Diff line change 39
39
<div class="repository search">
40
40
{{range $result := .SearchResults}}
41
41
<div class="diff-file-box diff-box file-content non-diff-file-content repo-search-result">
42
- <h4 class="ui top attached normal header">
43
- <span class="file">{{.Filename}}</span>
44
- <a class="ui basic tiny button" rel="nofollow" href="{{$.SourcePath}}/src/commit/{{PathEscape $result.CommitID}}/{{PathEscapeSegments .Filename}}">{{$.locale.Tr "repo.diff.view_file"}}</a>
42
+ <h4 class="ui top attached normal header gt-df gt-fw ">
43
+ <span class="file gt-f1 ">{{.Filename}}</span>
44
+ <a role="button" class="ui basic tiny button" rel="nofollow" href="{{$.SourcePath}}/src/commit/{{PathEscape $result.CommitID}}/{{PathEscapeSegments .Filename}}">{{$.locale.Tr "repo.diff.view_file"}}</a>
45
45
</h4>
46
46
<div class="ui attached table segment">
47
47
<div class="file-body file-code code-view">
You can’t perform that action at this time.
0 commit comments