Make LFS file paths editable

This commit is contained in:
bytedream committed 2025-05-05 02:01:26 +02:00
1 parent 96bbf81700
commit 5dc082a2ad
3 files changed
+15 -28

No files matched your search

+1 -8
View File
@@ -54,17 +54,10 @@
</div>
</div>
</div>
{{else if .IsFileTooLarge}}
<div class="field">
<div class="ui segment tw-text-center">
<h4 class="tw-font-semibold tw-mb-2">{{ctx.Locale.Tr "repo.editor.file_too_large_not_editable"}}</h4>
<p>{{ctx.Locale.Tr "repo.editor.file_not_editable_hint"}}</p>
</div>
</div>
{{else}}
<div class="field">
<div class="ui segment tw-text-center">
<h4 class="tw-font-semibold tw-mb-2">{{ctx.Locale.Tr "repo.editor.binary_file_not_editable"}}</h4>
<h4 class="tw-font-semibold tw-mb-2">{{.NotEditableReason}}</h4>
<p>{{ctx.Locale.Tr "repo.editor.file_not_editable_hint"}}</p>
</div>
</div>