diff options
author | Daniel Baumann <daniel@debian.org> | 2024-10-18 20:33:49 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-12-12 23:57:56 +0100 |
commit | e68b9d00a6e05b3a941f63ffb696f91e554ac5ec (patch) | |
tree | 97775d6c13b0f416af55314eb6a89ef792474615 /templates/repo/settings/lfs_file_find.tmpl | |
parent | Initial commit. (diff) | |
download | forgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.tar.xz forgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.zip |
Adding upstream version 9.0.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to '')
-rw-r--r-- | templates/repo/settings/lfs_file_find.tmpl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/repo/settings/lfs_file_find.tmpl b/templates/repo/settings/lfs_file_find.tmpl new file mode 100644 index 0000000..809a028 --- /dev/null +++ b/templates/repo/settings/lfs_file_find.tmpl @@ -0,0 +1,46 @@ +{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings lfs")}} + <div class="user-main-content twelve wide column content repository file list"> + <div class="tab-size-8 non-diff-file-content"> + <h4 class="ui top attached header"> + <a href="{{.LFSFilesLink}}">{{ctx.Locale.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}}"> + {{.Summary | RenderEmoji $.Context}} + </a> + </span> + </td> + <td> + <span class="text grey">{{svg "octicon-git-branch"}}{{.BranchName}}</span> + </td> + <td> + {{if .ParentHashes}} + {{ctx.Locale.Tr "repo.diff.parent"}} + {{range .ParentHashes}} + <a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.String}}">{{ShortSha .String}}</a> + {{end}} + {{end}} + {{ctx.Locale.Tr "repo.diff.commit"}} + <a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.SHA}}">{{ShortSha .SHA}}</a> + </td> + <td>{{TimeSince .When ctx.Locale}}</td> + </tr> + {{else}} + <tr> + <td colspan="5">{{ctx.Locale.Tr "repo.settings.lfs_lfs_file_no_commits"}}</td> + </tr> + {{end}} + </tbody> + </table> + </div> + </div> +{{template "repo/settings/layout_footer" .}} |