diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index cdc43b136..6857cbef7 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -247,6 +247,7 @@
+ {{.CanEditFile}} {{if .IsViewFile}} {{template "repo/view_file" .}} {{else if .IsBlame}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 1f4e71095..48ea08985 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -49,6 +49,15 @@ margin: 0px 5px 0px 0px !important; } +
+
+
+
+
+
+
+
+
{{.CsrfTokenHtml}} @@ -154,7 +163,7 @@ - +
{{TimeSince $commit.Committer.When $.Lang}}
@@ -162,7 +171,7 @@
- +
@@ -200,14 +209,27 @@ \ No newline at end of file