summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-23 20:58:12 +0800
committerslene <vslene@gmail.com>2014-03-23 20:58:12 +0800
commit559cd63fc5feace32bb44c695207579609516f15 (patch)
tree23ce410f6463a1a5945409ea6d796e17b23d8b8f /templates/repo
parent97e82a0ff6286fd0a42281cd1e34dd734110e2f4 (diff)
downloadgitea-559cd63fc5feace32bb44c695207579609516f15.tar.gz
gitea-559cd63fc5feace32bb44c695207579609516f15.zip
fix code view indentation
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/single_file.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl
index 7bca626aaa..40ef44eb1b 100644
--- a/templates/repo/single_file.tmpl
+++ b/templates/repo/single_file.tmpl
@@ -16,12 +16,12 @@
{{.FileContent|str2html}}
</div>
{{else}}
- <div class="panel-body file-body file-code">
+ <div class="panel-body file-body file-code code-view">
<table>
<tbody>
<tr>
<td class="lines-num"></td>
- <td class="lines-code markdown"><pre class="linenums lang-{{.FileExt}}"><code>{{.FileContent}}</code></pre></td>
+ <td class="lines-code markdown"><pre class="prettyprint linenums lang-{{.FileExt}}">{{.FileContent}}</pre></td>
</tr>
</tbody>
</table>