diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/view_file.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 616ca25650..f95076272e 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -16,6 +16,12 @@ {{FileSize .FileSize}}{{if .IsLFSFile}} ({{.i18n.Tr "repo.stored_lfs"}}){{end}} </div> {{end}} + {{if .LFSLock}} + <div class="file-info-entry"> + <i class="fa fa-lock poping up disabled" data-content="{{.LFSLockHint}}" data-position="bottom center" data-variation="tiny inverted"></i> + <a href="{{AppSubUrl}}/{{.LFSLock.Owner.Name}}">{{.LFSLockOwner}}</a> + </div> + {{end}} </div> {{end}} </div> |