1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-08 10:38:21 +00:00

On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)

Closes #3182
This commit is contained in:
Andrey Nering
2016-08-11 21:07:09 -03:00
committed by 无闻
parent aa1fc30b89
commit dbed39ba05
9 changed files with 137 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<div id="file-content">
<div id="file-content" class="{{TabSizeClass .Editorconfig .FileName}}">
<h4 class="ui top attached header" id="{{if .ReadmeExist}}repo-readme{{else}}repo-read-file{{end}}">
{{if .ReadmeExist}}
<i class="book icon ui left"></i>