aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
Diffstat (limited to 'templates/explore')
-rw-r--r--templates/explore/repo_search.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl
index e1df2fa0ee..1dabfede8c 100644
--- a/templates/explore/repo_search.tmpl
+++ b/templates/explore/repo_search.tmpl
@@ -29,4 +29,9 @@
<button class="ui primary button">{{.locale.Tr "explore.search"}}</button>
</div>
</form>
+{{if .OnlyShowRelevant}}
+ <div class="ui blue attached message explore-relevancy-note">
+ <span class="ui tooltip" data-content="{{.locale.Tr "explore.relevant_repositories_tooltip"}}">{{.locale.Tr "explore.relevant_repositories" ((printf "%s%s" $.Link "?no_filter=1")|Escape) | Safe}}</span>
+ </div>
+{{end}}
<div class="ui divider"></div>