summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-27 23:58:50 +0800
committerUnknwon <u@gogs.io>2015-08-27 23:58:50 +0800
commit70e0153b939a2446bf1d8e459a1b965660463585 (patch)
tree4cb8012a4cdb85f773a00328f4ccea1321875691 /templates/repo/settings
parente44852ff79598c1a39898a00e1489c017cc2619a (diff)
downloadgitea-70e0153b939a2446bf1d8e459a1b965660463585.tar.gz
gitea-70e0153b939a2446bf1d8e459a1b965660463585.zip
add highlight js
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/hook_history.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/hook_history.tmpl b/templates/repo/settings/hook_history.tmpl
index 850a38a607..4c5207ebf6 100644
--- a/templates/repo/settings/hook_history.tmpl
+++ b/templates/repo/settings/hook_history.tmpl
@@ -43,7 +43,7 @@
{{ range $key, $val := .RequestInfo.Headers }}<strong>{{$key}}:</strong> {{$val}}
{{end}}</pre>
<h5>{{$.i18n.Tr "repo.settings.webhook.payload"}}</h5>
- <pre class="raw">{{.PayloadContent}}</pre>
+ <pre class="raw"><code class="json">{{.PayloadContent}}</code></pre>
{{else}}
N/A
{{end}}
@@ -54,7 +54,7 @@
<pre class="raw">{{ range $key, $val := .ResponseInfo.Headers }}<strong>{{$key}}:</strong> {{$val}}
{{end}}</pre>
<h5>{{$.i18n.Tr "repo.settings.webhook.body"}}</h5>
- <pre class="raw">{{.ResponseInfo.Body}}</pre>
+ <pre class="raw"><code>{{.ResponseInfo.Body}}</code></pre>
{{else}}
N/A
{{end}}