File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111 {{range $result := .SearchResults}}
1212 {{$repo := (index $.RepoMaps .RepoID)}}
1313 <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 ">
1616 <a rel="nofollow" href="{{$repo.Link}}">{{$repo.FullName}}</a>
1717 {{if $repo.IsArchived}}
1818 <span class="ui basic label">{{$.locale.Tr "repo.desc.archived"}}</span>
1919 {{end}}
2020 - {{.Filename}}
2121 </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>
2323 </h4>
2424 <div class="ui attached table segment">
2525 <div class="file-body file-code code-view">
Original file line number Diff line number Diff line change 3939 <div class="repository search">
4040 {{range $result := .SearchResults}}
4141 <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>
4545 </h4>
4646 <div class="ui attached table segment">
4747 <div class="file-body file-code code-view">
You can’t perform that action at this time.
0 commit comments