fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

web: also show 'more result' link if FilesSkipped > 0

Change-Id: I758a048ac3294e4f7aed33139577a9983cab5e51

+1 -1
+1 -1
web/templates.go
··· 195 195 <h5> 196 196 {{if .Stats.Crashes}}<br><b>{{.Stats.Crashes}} shards crashed</b><br>{{end}} 197 197 {{ $fileCount := len .FileMatches }} 198 - Found {{.Stats.MatchCount}} results in {{.Stats.FileCount}} files{{if lt $fileCount .Stats.FileCount}}, 198 + Found {{.Stats.MatchCount}} results in {{.Stats.FileCount}} files{{if or (lt $fileCount .Stats.FileCount) (gt .Stats.FilesSkipped 0) }}, 199 199 showing top {{ $fileCount }} files (<a href="search?q={{.Last.Query}}&num={{More .Last.Num}}">show more</a>). 200 200 {{else}}.{{end}} 201 201 </h5>