You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lfs_file_find.tmpl 1.7KB

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