|
|
@ -217,9 +217,6 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
|
|
{{if .Ref}} |
|
|
|
|
|
|
|
<a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{range .Labels}} |
|
|
|
{{range .Labels}} |
|
|
|
<a class="ui label has-emoji" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a> |
|
|
|
<a class="ui label has-emoji" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
@ -242,6 +239,16 @@ |
|
|
|
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} |
|
|
|
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{if .Milestone}} |
|
|
|
|
|
|
|
<a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}"> |
|
|
|
|
|
|
|
<span class="octicon octicon-milestone"></span> {{.Milestone.Name}} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if .Ref}} |
|
|
|
|
|
|
|
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}"> |
|
|
|
|
|
|
|
<span class="octicon octicon-git-branch"></span> {{.Ref}} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
{{$tasks := .GetTasks}} |
|
|
|
{{$tasks := .GetTasks}} |
|
|
|
{{if gt $tasks 0}} |
|
|
|
{{if gt $tasks 0}} |
|
|
|
{{$tasksDone := .GetTasksDone}} |
|
|
|
{{$tasksDone := .GetTasksDone}} |
|
|
@ -249,11 +256,6 @@ |
|
|
|
<span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> |
|
|
|
<span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{if .Milestone}} |
|
|
|
|
|
|
|
<a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}"> |
|
|
|
|
|
|
|
<span class="octicon octicon-milestone"></span> {{.Milestone.Name}} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if ne .DeadlineUnix 0}} |
|
|
|
{{if ne .DeadlineUnix 0}} |
|
|
|
<span class="octicon octicon-calendar"></span> |
|
|
|
<span class="octicon octicon-calendar"></span> |
|
|
|
<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> |
|
|
|
<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> |
|
|
|