diff options
author | Morlinest <Morlinest@users.noreply.github.com> | 2017-08-17 03:31:34 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-08-17 09:31:34 +0800 |
commit | 951fb572a769acc965ec74b7152334e55b26de80 (patch) | |
tree | 38635bec85581c32a5b1e3fb1c0dab083fe110e3 /templates/base/head.tmpl | |
parent | 722bcefbbf26f4bca74f160295611cc982b364dc (diff) | |
download | gitea-951fb572a769acc965ec74b7152334e55b26de80.tar.gz gitea-951fb572a769acc965ec74b7152334e55b26de80.zip |
Fix and improve dashboard repo UI (#2285)
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index bb6f1ecaf5..88d2b14a46 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -17,6 +17,9 @@ {{if .ContextUser}} <meta name="_context_uid" content="{{.ContextUser.ID}}" /> {{end}} + {{if .SearchLimit}} + <meta name="_search_limit" content="{{.SearchLimit}}" /> + {{end}} {{if .GoGetImport}} <meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}"> <meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}"> |