view_list.tmpl 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <table id="repo-files-table" class="ui fixed single line table">
  2. <thead>
  3. <tr>
  4. <th class="four wide">
  5. {{if .LastCommitUser}}
  6. <img class="ui avatar image img-12" src="{{.LastCommitUser.RelAvatarLink}}" />
  7. <a href="{{AppSubUrl}}/{{.LastCommitUser.Name}}"><strong>{{.LastCommit.Author.Name}}</strong></a>
  8. {{else}}
  9. <img class="ui avatar image img-12" src="{{AvatarLink .LastCommit.Author.Email}}" />
  10. <strong>{{.LastCommit.Author.Name}}</strong>
  11. {{end}}
  12. <a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">{{ShortSha .LastCommit.ID.String}}</a>
  13. <span class="grey has-emoji">{{RenderCommitMessage false .LastCommit.Summary .RepoLink $.Repository.ComposeMetas}}</span>
  14. </th>
  15. <th class="nine wide">
  16. </th>
  17. <th class="three wide text grey right age">{{TimeSince .LastCommit.Author.When $.Lang}}</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {{if .HasParentPath}}
  22. <tr class="has-parent">
  23. <td colspan="3"><i class="octicon octicon-mail-reply"></i><a href="{{EscapePound .BranchLink}}{{.ParentPath}}">..</a></td>
  24. </tr>
  25. {{end}}
  26. {{range $item := .Files}}
  27. {{$entry := index $item 0}}
  28. {{$commit := index $item 1}}
  29. <tr>
  30. {{if $entry.IsSubModule}}
  31. <td>
  32. <span class="octicon octicon-file-submodule"></span>
  33. {{$refURL := $commit.RefURL AppUrl $.BranchLink}}
  34. {{if $refURL}}
  35. <a href="{{$refURL}}">{{$entry.Name}}</a> @ <a href="{{$refURL}}/commit/{{$commit.RefID}}">{{ShortSha $commit.RefID}}</a>
  36. {{else}}
  37. {{$entry.Name}} @ {{ShortSha $commit.RefID}}
  38. {{end}}
  39. </td>
  40. {{else}}
  41. <td class="name">
  42. <span class="octicon octicon-file-{{if or $entry.IsDir}}directory{{else}}text{{end}}"></span>
  43. <a href="{{EscapePound $.BranchLink}}/{{EscapePound $.TreePath}}{{EscapePound $entry.Name}}">{{$entry.Name}}</a>
  44. </td>
  45. {{end}}
  46. <td class="message collapsing has-emoji">
  47. <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
  48. {{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas}}
  49. </td>
  50. <td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
  51. </tr>
  52. {{end}}
  53. </tbody>
  54. </table>
  55. {{if .ReadmeExist}}
  56. {{template "repo/view_file" .}}
  57. {{end}}
PANIC: session(release): write data/sessions/5/0/50fedc5ef5317160: no space left on device

PANIC

session(release): write data/sessions/5/0/50fedc5ef5317160: no space left on device
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8b2934)
gopkg.in/macaron.v1@v1.3.9/context.go:79 (0x83d0a0)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/context.go:112 (0x84fdb5)
gopkg.in/macaron.v1@v1.3.9/recovery.go:161 (0x84fda8)
gopkg.in/macaron.v1@v1.3.9/logger.go:40 (0x840c73)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/router.go:187 (0x850fc6)
gopkg.in/macaron.v1@v1.3.9/router.go:303 (0x8493e5)
gopkg.in/macaron.v1@v1.3.9/macaron.go:220 (0x841fca)
net/http/server.go:2836 (0x7a79b2)
net/http/server.go:1924 (0x7a341b)
runtime/asm_amd64.s:1373 (0x46f9f0)