diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/install.tmpl | 5 | ||||
-rw-r--r-- | templates/repo/diff/box.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/view_file.tmpl | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index 44851c96fd..027d06166b 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -84,6 +84,11 @@ <input id="repo_root_path" name="repo_root_path" value="{{.repo_root_path}}" required> <span class="help">{{.i18n.Tr "install.repo_path_helper"}}</span> </div> + <div class="inline field {{if .Err_LFSRootPath}}error{{end}}"> + <label for="lfs_root_path">{{.i18n.Tr "install.lfs_path"}}</label> + <input id="lfs_root_path" name="lfs_root_path" value="{{.lfs_root_path}}"> + <span class="help">{{.i18n.Tr "install.lfs_path_helper"}}</span> + </div> <div class="inline required field {{if .Err_RunUser}}error{{end}}"> <label for="run_user">{{.i18n.Tr "install.run_user"}}</label> <input id="run_user" name="run_user" value="{{.run_user}}" required> diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 4f6c70a328..8ee4a001ce 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -66,7 +66,7 @@ <span class="del" data-line="{{.Deletion}}">- {{.Deletion}}</span> {{end}} </div> - <span class="file">{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}</span> + <span class="file">{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}</span> {{if not $file.IsSubmodule}} <div class="ui right"> {{if $file.IsDeleted}} diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 08d77c3f37..9382bb075e 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -5,11 +5,11 @@ {{if .ReadmeInList}} <strong>{{.FileName}}</strong> {{else}} - <strong>{{.FileName}}</strong> <span class="text grey normal">{{FileSize .FileSize}}</span> + <strong>{{.FileName}}</strong> <span class="text grey normal">{{FileSize .FileSize}}{{if .IsLFSFile}} ({{.i18n.Tr "repo.stored_lfs"}}){{end}}</span> {{end}} {{else}} <i class="file text outline icon ui left"></i> - <strong>{{.FileName}}</strong> <span class="text grey normal">{{FileSize .FileSize}}</span> + <strong>{{.FileName}}</strong> <span class="text grey normal">{{FileSize .FileSize}}{{if .IsLFSFile}} ({{.i18n.Tr "repo.stored_lfs"}}){{end}}</span> {{end}} {{if not .ReadmeInList}} <div class="ui right file-actions"> |