diff --git a/templates/repo/cloudbrain/models/dir_list.tmpl b/templates/repo/cloudbrain/models/dir_list.tmpl index f7aaee009..4c87d3d83 100755 --- a/templates/repo/cloudbrain/models/dir_list.tmpl +++ b/templates/repo/cloudbrain/models/dir_list.tmpl @@ -20,8 +20,9 @@ {{.ModTime}} + {{end}} -{{end}} +{{end}} \ No newline at end of file diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 98f61ca6e..6fb685cd5 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -1,3 +1,54 @@ + @@ -59,6 +110,7 @@ {{range $item := .Files}} {{$entry := index $item 0}} {{$commit := index $item 1}} + {{if $entry.IsSubModule}} {{else}} - + + + {{end}}
@@ -73,7 +125,7 @@ + {{TimeSince $commit.Committer.When $.Lang}}
{{if .ReadmeExist}} {{template "repo/view_file" .}} {{end}} + + +
+ +
+ + \ No newline at end of file