File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 37
37
{{$repo := (index $.RepoMaps .RepoID)}}
38
38
<div class="diff-file-box diff-box file-content non-diff-file-content repo-search-result">
39
39
<h4 class="ui top attached normal header">
40
- <span class="file"><a rel="nofollow" href="{{$repo.HTMLURL}}">{{$repo.FullName}}</a> - {{.Filename}}</span>
40
+ <span class="file">
41
+ <a rel="nofollow" href="{{$repo.HTMLURL}}">{{$repo.FullName}}</a>
42
+ {{if $repo.IsArchived}}
43
+ <span class="ui basic label">{{$.i18n.Tr "repo.desc.archived"}}</span>
44
+ {{end}}
45
+ - {{.Filename}}
46
+ </span>
41
47
<a class="ui basic tiny button" rel="nofollow" href="{{$repo.HTMLURL}}/src/commit/{{$result.CommitID | PathEscape}}/{{.Filename | PathEscapeSegments}}">{{$.i18n.Tr "repo.diff.view_file"}}</a>
42
48
</h4>
43
49
<div class="ui attached table segment">
You can’t perform that action at this time.
0 commit comments