diff --git a/gogs.go b/gogs.go index e6ff2409e..0086ca228 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogits/gogs/pkg/setting" ) -const APP_VER = "0.11.37.0312" +const APP_VER = "0.11.38.0312" func init() { setting.AppVer = APP_VER diff --git a/templates/.VERSION b/templates/.VERSION index 9dbf326ba..9cfaf73dd 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.37.0312 \ No newline at end of file +0.11.38.0312 \ No newline at end of file diff --git a/templates/repo/branches/all.tmpl b/templates/repo/branches/all.tmpl index 42c67bc32..40b9d2b52 100644 --- a/templates/repo/branches/all.tmpl +++ b/templates/repo/branches/all.tmpl @@ -20,7 +20,7 @@ {{if and (and (eq $.BranchName .Name) $.IsRepositoryAdmin) (not $.Repository.IsMirror)}} {{$.i18n.Tr "repo.branches.change_default_branch"}} {{else if and $.IsRepositoryWriter $.AllowPullRequest}} - {{$.i18n.Tr "repo.pulls.new"}} + {{$.i18n.Tr "repo.pulls.new"}} {{end}} diff --git a/templates/repo/branches/overview.tmpl b/templates/repo/branches/overview.tmpl index f46143693..f8becf9d3 100644 --- a/templates/repo/branches/overview.tmpl +++ b/templates/repo/branches/overview.tmpl @@ -11,7 +11,7 @@
- {{if .DefaultBranch.IsProtected}} {{end}}{{.DefaultBranch.Name}} + {{if .DefaultBranch.IsProtected}} {{end}}{{.DefaultBranch.Name}} {{$timeSince := TimeSince .DefaultBranch.Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .DefaultBranch.Commit.Committer.Name | Safe}}
@@ -31,13 +31,13 @@ {{range .ActiveBranches}}
- {{if .IsProtected}} {{end}}{{.Name}} + {{if .IsProtected}} {{end}}{{.Name}} {{$timeSince := TimeSince .Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}
{{if and $.IsRepositoryWriter $.AllowPullRequest}} {{end}}
@@ -53,13 +53,13 @@ {{range .StaleBranches}}
- {{if .IsProtected}} {{end}}{{.Name}} + {{if .IsProtected}} {{end}}{{.Name}} {{$timeSince := TimeSince .Commit.Committer.When $.Lang}} {{$.i18n.Tr "repo.branches.updated_by" $timeSince .Commit.Committer.Name | Safe}}
{{if and $.IsRepositoryWriter $.AllowPullRequest}} {{end}}