summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-20 01:06:54 -0500
committerUnknwon <u@gogs.io>2015-12-20 01:06:54 -0500
commitc62a6b7a1238524225ec9c214dc5eac7da017663 (patch)
tree44a9b60dd7deef4f218b086e166f104728101cb5 /templates
parentcadf03db68bee141f55a0a26d68efc5870e66ead (diff)
downloadgitea-c62a6b7a1238524225ec9c214dc5eac7da017663.tar.gz
gitea-c62a6b7a1238524225ec9c214dc5eac7da017663.zip
#2014 allow switch branches between two orgs in compose PR
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/repo/pulls/compare.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 79b657a8d1..3d67a16bda 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.8.11.1219 \ No newline at end of file
+0.8.12.1219 \ No newline at end of file
diff --git a/templates/repo/pulls/compare.tmpl b/templates/repo/pulls/compare.tmpl
index f1236c2ba6..110dfa46b3 100644
--- a/templates/repo/pulls/compare.tmpl
+++ b/templates/repo/pulls/compare.tmpl
@@ -21,7 +21,7 @@
</div>
<div class="scrolling menu">
{{range .Branches}}
- <div class="item {{if eq $.BaseBranch .}}selected{{end}}" data-url="{{$.RepoLink}}/compare/{{.}}...{{$.SignedUser.Name}}:{{$.HeadBranch}}">{{.}}</div>
+ <div class="item {{if eq $.BaseBranch .}}selected{{end}}" data-url="{{$.RepoLink}}/compare/{{.}}...{{$.HeadUser.Name}}:{{$.HeadBranch}}">{{.}}</div>
{{end}}
</div>
</div>
@@ -39,7 +39,7 @@
</div>
<div class="scrolling menu">
{{range .HeadBranches}}
- <div class="{{if eq $.HeadBranch .}}selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.SignedUser.Name}}:{{.}}">{{.}}</div>
+ <div class="{{if eq $.HeadBranch .}}selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.HeadUser.Name}}:{{.}}">{{.}}</div>
{{end}}
</div>
</div>