File tree 6 files changed +20
-13
lines changed
6 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 99
99
{{.locale.Tr "repo.issues.new.open_projects"}}
100
100
</div>
101
101
{{range .OpenProjects}}
102
- <a class="{{if $.ProjectID}}{{if eq $.ProjectID .ID}}active selected{{end}}{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{.ID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">
103
- {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
102
+ <a class="{{if $.ProjectID}}{{if eq $.ProjectID .ID}}active selected{{end}}{{end}} item gt-df " href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{.ID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">
103
+ {{svg .IconName 18 "gt-mr-3 gt-shrink-0 "}}<span class="gt-ellipsis"> {{.Title}}</span>
104
104
</a>
105
105
{{end}}
106
106
{{end}}
131
131
</div>
132
132
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}">{{.locale.Tr "repo.issues.filter_poster_no_select"}}</a>
133
133
{{range .Posters}}
134
- <a class="{{if eq $.PosterID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{.ID}}">
134
+ <a class="{{if eq $.PosterID .ID}}active selected{{end}} item gt-df " href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{.ID}}">
135
135
{{avatar $.Context .}}{{template "repo/search_name" .}}
136
136
</a>
137
137
{{end}}
151
151
</div>
152
152
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_assginee_no_select"}}</a>
153
153
{{range .Assignees}}
154
- <a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{.ID}}&poster={{$.PosterID}}">
154
+ <a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item gt-df " href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{.ID}}&poster={{$.PosterID}}">
155
155
{{avatar $.Context .}}{{template "repo/search_name" .}}
156
156
</a>
157
157
{{end}}
Original file line number Diff line number Diff line change 1
- {{.Name}}{{if IsShowFullName}}<span class="search-fullname"> {{.FullName}}</span>{{end}}
1
+ <span class="gt-ellipsis"> {{.Name}}{{if IsShowFullName}}<span class="search-fullname"> {{.FullName}}</span>{{end}}</span>
Original file line number Diff line number Diff line change 143
143
{{end}}
144
144
</div>
145
145
</div>
146
+ {{if or .TotalTrackedTime .Assignees .NumComments}}
146
147
<div class="issue-item-icons-right gt-df gt-p-2">
148
+ {{if .TotalTrackedTime}}
147
149
<div class="issue-item-icon-right text grey">
148
- {{if .TotalTrackedTime}}
149
150
{{svg "octicon-clock" 16 "gt-mr-2"}}
150
151
{{.TotalTrackedTime | Sec2Time}}
151
- {{end}}
152
152
</div>
153
+ {{end}}
154
+ {{if .Assignees}}
153
155
<div class="issue-item-icon-right text grey">
154
156
{{range .Assignees}}
155
157
<a class="ui assignee tooltip gt-tdn" href="{{.HomeLink}}" data-content="{{.GetDisplayName}}" data-position="left center">
156
158
{{avatar $.Context .}}
157
159
</a>
158
160
{{end}}
159
161
</div>
162
+ {{end}}
163
+ {{if .NumComments}}
160
164
<div class="issue-item-icon-right text grey">
161
- {{if .NumComments}}
162
- <a class="gt-tdn muted" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
163
- {{svg "octicon-comment" 16 "gt-mr-2"}}{{.NumComments}}
164
- </a>
165
- {{end}}
165
+ <a class="gt-tdn muted" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
166
+ {{svg "octicon-comment" 16 "gt-mr-2"}}{{.NumComments}}
167
+ </a>
166
168
</div>
169
+ {{end}}
167
170
</div>
171
+ {{end}}
168
172
</li>
169
173
{{end}}
170
174
{{if .IssueIndexerUnavailable}}
Original file line number Diff line number Diff line change 197
197
198
198
.gt-content-center { align-content : center !important ; }
199
199
200
+ .gt-shrink-0 { flex-shrink : 0 !important ; }
200
201
.gt-whitespace-nowrap { white-space : nowrap !important ; }
201
202
202
203
@media (max-width : 767px ) {
Original file line number Diff line number Diff line change 143
143
144
144
.repository .filter .menu .menu {
145
145
max-height : 500px ;
146
- overflow-x : auto;
146
+ max-width : 300px ;
147
+ overflow-x : hidden;
147
148
right : 0 !important ;
148
149
left : auto !important ;
149
150
}
Original file line number Diff line number Diff line change 84
84
85
85
.issue .list > .item .desc a {
86
86
color : inherit;
87
+ word-break : break-word;
87
88
}
88
89
89
90
.issue .list > .item .desc .time-since ,
You can’t perform that action at this time.
0 commit comments