diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-01 18:52:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 18:52:57 +0800 |
commit | 590a79ff8a7f8f9eab9dc19ea96dae2083449c70 (patch) | |
tree | 00ff6f38a7b363289a73c6aab2eefc967eda5f16 /templates | |
parent | 2343feadd434561d86b1273792d88f609a782114 (diff) | |
download | gitea-590a79ff8a7f8f9eab9dc19ea96dae2083449c70.tar.gz gitea-590a79ff8a7f8f9eab9dc19ea96dae2083449c70.zip |
Resolved #296 (#324)
* resolved #296
* Indentation fixed
Diffstat (limited to 'templates')
-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> |