gitea

Development moved to Codeberg

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
  46. 46
  47. 47
  48. 48
  49. 49
  50. 50
  51. 51
  52. 52
{{template "base/head" .}}
<div class="page-content repository settings lfs">
	{{template "repo/header" .}}
	{{template "repo/settings/navbar" .}}
	<div class="ui container repository file list">
		{{template "base/alert" .}}
		<div class="tab-size-8 non-diff-file-content">
			<h4 class="ui top attached header">
				<a href="{{.LFSFilesLink}}">{{.i18n.Tr "repo.settings.lfs"}}</a> / <span class="truncate sha">{{.Oid}}</span>
			</h4>
			<table id="lfs-files-find-table" class="ui attached segment single line table">
				<tbody>
					{{range .Results}}
						<tr>
							<td>
								{{svg "octicon-file"}}
								<a href="{{$.RepoLink}}/src/commit/{{.SHA}}/{{PathEscapeSegments .Name}}" title="{{.Name}}">{{.Name}}</a>
							</td>
							<td class="message">
								<span class="truncate">
									<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{.Summary | RenderEmojiPlain}}">
										{{.Summary | RenderEmoji}}
									</a>
								</span>
							</td>
							<td>
								<span class="text grey">{{svg "octicon-git-branch"}}{{.BranchName}}</span>
							</td>
							<td>
								{{if .ParentHashes}}
									{{$.i18n.Tr "repo.diff.parent"}}
									{{range .ParentHashes}}
										<a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.String}}">{{ShortSha .String}}</a>
									{{end}}
								{{end}}
								<div class="mobile-only"></div>
								{{$.i18n.Tr "repo.diff.commit"}}
								<a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.SHA}}">{{ShortSha .SHA}}</a>
							</td>
							<td>{{TimeSince .When $.i18n.Lang}}</td>
						</tr>
					{{else}}
						<tr>
							<td colspan="5">{{.i18n.Tr "repo.settings.lfs_lfs_file_no_commits"}}</td>
						</tr>
					{{end}}
				</tbody>
			</table>
		</div>
	</div>
</div>
{{template "base/footer" .}}