diff options
author | Jonas <cez81@users.noreply.github.com> | 2017-03-02 01:25:44 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-02 08:25:44 +0800 |
commit | f3bf40908265d30d4de592dc55916a8a8cc03abb (patch) | |
tree | 0054dcf2ee173144aa47676fb6bcc2d9f37c3be1 /templates/admin | |
parent | 0380ce269fd1877c018eeee0007f2e6a0f84d1ab (diff) | |
download | gitea-f3bf40908265d30d4de592dc55916a8a8cc03abb.tar.gz gitea-f3bf40908265d30d4de592dc55916a8a8cc03abb.zip |
Log config pretty printer (#1097)
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/config.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index ca12bbe057..d9403f4145 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -270,7 +270,7 @@ <dt>{{$.i18n.Tr "admin.config.log_mode"}}</dt> <dd>{{.Mode}}</dd> <dt>{{$.i18n.Tr "admin.config.log_config"}}</dt> - <dd><code>{{.Config}}</code></dd> + <dd><pre>{{.Config | JsonPrettyPrint}}</pre></dd> {{end}} </dl> </div> |