mirror of https://github.com/go-gitea/gitea.git
Update templates/shared/search/code/results.tmpl
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Signed-off-by: silverwind <me@silverwind.io>pull/35888/head
parent
6e00ba16fb
commit
204404b424
|
|
@ -12,7 +12,7 @@
|
|||
{{range $result := .SearchResults}}
|
||||
{{$repo := or $.Repo (index $.RepoMaps .RepoID)}}
|
||||
<div class="diff-file-box file-content non-diff-file-content repo-search-result">
|
||||
<h4 class="ui top attached header tw-font-normal tw-flex tw-flex-wrap tw-items-center tw-py-2 flex-text-block">
|
||||
<h4 class="ui top attached header tw-font-normal flex-text-block tw-flex-wrap tw-py-2">
|
||||
{{if not $.Repo}}
|
||||
<span class="file tw-flex-1">
|
||||
<a rel="nofollow" href="{{$repo.Link}}">{{$repo.FullName}}</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue