File tree 5 files changed +46
-16
lines changed
5 files changed +46
-16
lines changed Original file line number Diff line number Diff line change @@ -782,8 +782,11 @@ footer .ui.left,footer .ui.right{line-height:40px}
782
782
.issue .list > .item .desc .checklist {padding-left : 5px }
783
783
.issue .list > .item .desc .checklist .progress-bar {margin-left : 2px ;width : 80px ;height : 6px ;display : inline-block;background-color : # eee ;overflow : hidden;border-radius : 3px ;vertical-align : 2px !important }
784
784
.issue .list > .item .desc .checklist .progress-bar .progress {background-color : # ccc ;display : block;height : 100% }
785
- .issue .list > .item .desc a .milestone {padding -left: 5px ;color : # 999!important }
785
+ .issue .list > .item .desc a .milestone {margin -left: 5px ;color : # 999!important }
786
786
.issue .list > .item .desc a .milestone : hover {color : # 000!important }
787
+ .issue .list > .item .desc a .ref {margin-left : 8px ;color : # 999!important }
788
+ .issue .list > .item .desc a .ref : hover {color : # 000!important }
789
+ .issue .list > .item .desc a .ref span {margin-right : -4px }
787
790
.issue .list > .item .desc .assignee {margin-top : -5px ;margin-right : 5px }
788
791
.issue .list > .item .desc .overdue {color : red}
789
792
.page .buttons {padding-top : 15px }
Original file line number Diff line number Diff line change 1985
1985
}
1986
1986
1987
1987
a .milestone {
1988
- padding-left : 5px ;
1988
+ margin-left : 5px ;
1989
+ color : #999999 !important ;
1990
+
1991
+ & :hover {
1992
+ color : #000000 !important ;
1993
+ }
1994
+ }
1995
+
1996
+ a .ref {
1997
+ margin-left : 8px ;
1989
1998
color : #999999 !important ;
1990
1999
1991
2000
& :hover {
1992
2001
color : #000000 !important ;
1993
2002
}
2003
+
2004
+ span {
2005
+ margin-right : -4px ;
2006
+ }
1994
2007
}
1995
2008
1996
2009
.assignee {
Original file line number Diff line number Diff line change 217
217
{{end}}
218
218
{{end}}
219
219
220
- {{if .Ref}}
221
- <a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
222
- {{end}}
223
220
{{range .Labels}}
224
221
<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>
225
222
{{end}}
242
239
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
243
240
{{end}}
244
241
242
+ {{if .Milestone}}
243
+ <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
244
+ <span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
245
+ </a>
246
+ {{end}}
247
+ {{if .Ref}}
248
+ <a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
249
+ <span class="octicon octicon-git-branch"></span> {{.Ref}}
250
+ </a>
251
+ {{end}}
245
252
{{$tasks := .GetTasks}}
246
253
{{if gt $tasks 0}}
247
254
{{$tasksDone := .GetTasksDone}}
248
255
<span class="checklist">
249
256
<span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
250
257
</span>
251
258
{{end}}
252
- {{if .Milestone}}
253
- <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
254
- <span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
255
- </a>
256
- {{end}}
257
259
{{if ne .DeadlineUnix 0}}
258
260
<span class="octicon octicon-calendar"></span>
259
261
<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span>
Original file line number Diff line number Diff line change 187
187
<div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div>
188
188
<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a>
189
189
190
- {{if .Ref}}
191
- <a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
192
- {{end}}
193
190
{{range .Labels}}
194
191
<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>
195
192
{{end}}
208
205
{{else}}
209
206
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}}
210
207
{{end}}
208
+ {{if .Ref}}
209
+ <a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
210
+ <span class="octicon octicon-git-branch"></span> {{.Ref}}
211
+ </a>
212
+ {{end}}
211
213
{{$tasks := .GetTasks}}
212
214
{{if gt $tasks 0}}
213
215
{{$tasksDone := .GetTasksDone}}
Original file line number Diff line number Diff line change 100
100
{{else}}
101
101
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}}
102
102
{{end}}
103
- {{if .Assignee}}
104
- <a class="ui right assignee poping up" href="{{.Assignee.HomeLink}}" data-content="{{.Assignee.GetDisplayName}}" data-variation="inverted" data-position="left center">
105
- <img class="ui avatar image" src="{{.Assignee.RelAvatarLink}}">
103
+ {{if .Milestone}}
104
+ <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
105
+ <span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
106
+ </a>
107
+ {{end}}
108
+ {{if .Ref}}
109
+ <a class="ref" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/src/branch/{{.Ref}}">
110
+ <span class="octicon octicon-git-branch"></span> {{.Ref}}
111
+ </a>
112
+ {{end}}
113
+ {{range .Assignees}}
114
+ <a class="ui right assignee poping up" href="{{.HomeLink}}" data-content="{{.GetDisplayName}}" data-variation="inverted" data-position="left center">
115
+ <img class="ui avatar image" src="{{.RelAvatarLink}}">
106
116
</a>
107
117
{{end}}
108
118
{{$tasks := .GetTasks}}
You can’t perform that action at this time.
0 commit comments