summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/milestone_issues.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/milestone_issues.tmpl')
-rw-r--r--templates/repo/issue/milestone_issues.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl
index 738ac4b816..889cd2c2f6 100644
--- a/templates/repo/issue/milestone_issues.tmpl
+++ b/templates/repo/issue/milestone_issues.tmpl
@@ -187,9 +187,6 @@
<div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div>
<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a>
- {{if .Ref}}
- <a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
- {{end}}
{{range .Labels}}
<a class="ui label has-emoji" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a>
{{end}}
@@ -208,6 +205,11 @@
{{else}}
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}}
{{end}}
+ {{if .Ref}}
+ <a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
+ <span class="octicon octicon-git-branch"></span> {{.Ref}}
+ </a>
+ {{end}}
{{$tasks := .GetTasks}}
{{if gt $tasks 0}}
{{$tasksDone := .GetTasksDone}}