diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b03e2eaad36a..048939f27a05 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -14,7 +14,7 @@
- + {{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} @@ -22,7 +22,7 @@
- + {{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}} @@ -31,7 +31,7 @@
{{if .CanBeForked}}
- + {{$.i18n.Tr "repo.fork"}} diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 32be1ce022f1..8ecf69ae4d32 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -37,7 +37,7 @@ {{if .PublisherID}}

{{.Title}} - {{if .IsRepositoryAdmin}}({{$.i18n.Tr "repo.release.edit"}}){{end}} + {{if $.IsRepositoryAdmin}}({{$.i18n.Tr "repo.release.edit"}}){{end}}