diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b286e8be13..157565539c 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1627,6 +1627,7 @@ issues.maybefixed = May be fixed by %s issues.create_branch_from_issue_success = Create branch %s from issue successfully issues.pr.completed = Completed issues.pr.conflicted = Merge conflicts +issues.branch.latest = Latest commit %s issues.link.created = Created %s issues.num_participants = %d Participants issues.attachment.open_tab = `Click to see "%s" in a new tab` diff --git a/templates/repo/issue/view_content/sidebar_development.tmpl b/templates/repo/issue/view_content/sidebar_development.tmpl index d48c7c1e8d..dd3bc6b2db 100644 --- a/templates/repo/issue/view_content/sidebar_development.tmpl +++ b/templates/repo/issue/view_content/sidebar_development.tmpl @@ -1,8 +1,8 @@ {{ctx.Locale.Tr "repo.issues.development"}} {{else if and .Branch .DisplayBranch}} - - {{svg "octicon-git-branch" 14}} - - {{.Branch.Name}} - - -
Latest commit {{DateTime "short" .Branch.CommitTime}}
- {{ctx.Locale.Tr "repo.pulls.new"}} +
+
+ {{svg "octicon-git-branch" 14}} + + {{.Branch.Name}} + +
+
+ + {{svg "octicon-git-pull-request"}} + +
+
+
{{ctx.Locale.Tr "repo.issues.branch.latest" (DateTime "short" .Branch.CommitTime)}}
{{end}} {{end}}