diff --git a/services/context/context_template.go b/services/context/context_template.go index 87877095ab..27d02a4566 100644 --- a/services/context/context_template.go +++ b/services/context/context_template.go @@ -78,7 +78,7 @@ func (c TemplateContext) CurrentWebBanner() *setting.WebBannerType { return nil } -// AppFullLink returns a full URL link with AppSubURL for the given app link (no AppSubURL) +// AppFullLink returns a full URL link with AppSubURL for the given app link // If no link is given, it returns the current app full URL with sub-path but without trailing slash (that's why it is not named as AppURL) func (c TemplateContext) AppFullLink(link ...string) template.URL { s := httplib.GuessCurrentAppURL(c.parentContext()) diff --git a/templates/repo/blame.tmpl b/templates/repo/blame.tmpl index ef3415d52e..944472ed4c 100644 --- a/templates/repo/blame.tmpl +++ b/templates/repo/blame.tmpl @@ -79,7 +79,7 @@ {{/*FIXME: the "HasSourceRenderedToggle" is never set on blame page, it should mean "whether the file is renderable". If the file is renderable, then it must has the "display=source" parameter to make sure the file view page shows the source code, then line number works. */}} {{if $.Permission.CanRead ctx.Consts.RepoUnitTypeIssues}} - {{ctx.Locale.Tr "repo.issues.context.reference_issue"}} + {{ctx.Locale.Tr "repo.issues.context.reference_issue"}} {{end}} {{ctx.Locale.Tr "repo.file_copy_permalink"}} diff --git a/templates/repo/issue/view_content/context_menu.tmpl b/templates/repo/issue/view_content/context_menu.tmpl index a2341e6097..018e51f2ef 100644 --- a/templates/repo/issue/view_content/context_menu.tmpl +++ b/templates/repo/issue/view_content/context_menu.tmpl @@ -3,13 +3,14 @@ {{svg "octicon-kebab-horizontal"}}