diff options
Diffstat (limited to 'templates/explore')
-rw-r--r-- | templates/explore/organizations.tmpl | 2 | ||||
-rw-r--r-- | templates/explore/repo_list.tmpl | 4 | ||||
-rw-r--r-- | templates/explore/users.tmpl | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl index c44456be4c..7044894a06 100644 --- a/templates/explore/organizations.tmpl +++ b/templates/explore/organizations.tmpl @@ -24,6 +24,8 @@ </div> </div> </div> + {{else}} + <div>{{$.i18n.Tr "explore.org_no_results"}}</div> {{end}} </div> diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 2cf7202fdf..961e510c08 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -19,5 +19,9 @@ {{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}} <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p> </div> + {{else}} + <div> + {{$.i18n.Tr "explore.repo_no_results"}} + </div> {{end}} </div> diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl index ce356f4fde..09091df253 100644 --- a/templates/explore/users.tmpl +++ b/templates/explore/users.tmpl @@ -24,6 +24,8 @@ </div> </div> </div> + {{else}} + <div>{{$.i18n.Tr "explore.user_no_results"}}</div> {{end}} </div> |