2023-04-23 18:21:21 +08:00
|
|
|
{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings lfs")}}
|
|
|
|
<div class="user-main-content twelve wide column content repository file list">
|
2019-10-29 02:31:55 +08:00
|
|
|
<div class="tab-size-8 non-diff-file-content">
|
|
|
|
<h4 class="ui top attached header">
|
2023-09-25 21:15:51 +08:00
|
|
|
<a href="{{.LFSFilesLink}}">{{ctx.Locale.Tr "repo.settings.lfs"}}</a> / <span class="truncate sha">{{.Oid}}</span>
|
2019-10-29 02:31:55 +08:00
|
|
|
</h4>
|
|
|
|
<table id="lfs-files-find-table" class="ui attached segment single line table">
|
|
|
|
<tbody>
|
|
|
|
{{range .Results}}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2020-09-12 04:19:00 +08:00
|
|
|
{{svg "octicon-file"}}
|
2021-11-17 02:18:25 +08:00
|
|
|
<a href="{{$.RepoLink}}/src/commit/{{.SHA}}/{{PathEscapeSegments .Name}}" title="{{.Name}}">{{.Name}}</a>
|
2019-10-29 02:31:55 +08:00
|
|
|
</td>
|
2020-05-02 01:58:45 +08:00
|
|
|
<td class="message">
|
2019-10-29 02:31:55 +08:00
|
|
|
<span class="truncate">
|
2020-05-02 01:58:45 +08:00
|
|
|
<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{.Summary | RenderEmojiPlain}}">
|
2023-03-06 05:59:05 +08:00
|
|
|
{{.Summary | RenderEmoji $.Context}}
|
2019-10-29 02:31:55 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-09-12 04:19:00 +08:00
|
|
|
<span class="text grey">{{svg "octicon-git-branch"}}{{.BranchName}}</span>
|
2019-10-29 02:31:55 +08:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{if .ParentHashes}}
|
2023-09-25 21:15:51 +08:00
|
|
|
{{ctx.Locale.Tr "repo.diff.parent"}}
|
2019-10-29 02:31:55 +08:00
|
|
|
{{range .ParentHashes}}
|
2022-05-20 06:08:08 +08:00
|
|
|
<a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.String}}">{{ShortSha .String}}</a>
|
2019-10-29 02:31:55 +08:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2023-09-25 21:15:51 +08:00
|
|
|
{{ctx.Locale.Tr "repo.diff.commit"}}
|
2022-05-20 06:08:08 +08:00
|
|
|
<a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.SHA}}">{{ShortSha .SHA}}</a>
|
2019-10-29 02:31:55 +08:00
|
|
|
</td>
|
2023-09-25 21:15:51 +08:00
|
|
|
<td>{{TimeSince .When ctx.Locale}}</td>
|
2019-10-29 02:31:55 +08:00
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
2023-09-25 21:15:51 +08:00
|
|
|
<td colspan="5">{{ctx.Locale.Tr "repo.settings.lfs_lfs_file_no_commits"}}</td>
|
2019-10-29 02:31:55 +08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-23 18:21:21 +08:00
|
|
|
{{template "repo/settings/layout_footer" .}}
|