|
73 | 73 | {{ range $board := .Boards }} |
74 | 74 |
|
75 | 75 | <div class="ui segment board-column" data-id="{{.ID}}" data-sorting="{{.Sorting}}" data-url="{{$.RepoLink}}/projects/{{$.Project.ID}}/{{.ID}}"> |
76 | | - <div class="board-column-header"> |
77 | | - <div class="ui large label board-label">{{.Title}}</div> |
| 76 | + <div class="board-column-header df ac sb"> |
| 77 | + <div class="ui large label board-label py-2">{{.Title}}</div> |
78 | 78 | {{if and $.CanWriteProjects (not $.Repository.IsArchived) $.PageIsProjects (ne .ID 0)}} |
79 | | - <div class="ui dropdown jump item poping up right" data-variation="tiny inverted"> |
80 | | - <span class="ui text"> |
81 | | - <span class="fitted not-mobile" tabindex="-1">{{svg "octicon-kebab-horizontal" 24}}</span> |
82 | | - </span> |
| 79 | + <div class="ui dropdown jump item poping up" data-variation="tiny inverted"> |
| 80 | + <div class="not-mobile px-3" tabindex="-1"> |
| 81 | + {{svg "octicon-kebab-horizontal"}} |
| 82 | + </div> |
83 | 83 | <div class="menu user-menu" tabindex="-1"> |
84 | 84 | <a class="item show-modal button" data-modal="#edit-project-board-modal-{{.ID}}"> |
85 | 85 | {{svg "octicon-pencil"}} |
|
156 | 156 |
|
157 | 157 | <!-- start issue card --> |
158 | 158 | <div class="card board-card" data-issue="{{.ID}}"> |
159 | | - <div class="content"> |
| 159 | + <div class="content p-0"> |
160 | 160 | <div class="header"> |
161 | | - <span> |
| 161 | + <span class="dif ac vm {{if .IsClosed}}red{{else}}green{{end}}"> |
162 | 162 | {{if .IsPull}} |
163 | 163 | {{if .PullRequest.HasMerged}} |
164 | 164 | {{svg "octicon-git-merge" 16 "text purple"}} |
|
177 | 177 | {{end}} |
178 | 178 | {{end}} |
179 | 179 | </span> |
180 | | - <a class="project-board-title" href="{{$.RepoLink}}/issues/{{.Index}}">#{{.Index}} {{.Title}}</a> |
| 180 | + <a class="project-board-title vm" href="{{$.RepoLink}}/issues/{{.Index}}">#{{.Index}} {{.Title}}</a> |
181 | 181 | </div> |
182 | 182 | {{- if .MilestoneID }} |
183 | | - <div class="meta"> |
| 183 | + <div class="meta py-2"> |
184 | 184 | <a class="milestone" href="{{$.RepoLink}}/milestone/{{ .MilestoneID}}"> |
185 | | - {{svg "octicon-milestone"}} {{ .Milestone.Name }} |
| 185 | + {{svg "octicon-milestone" 16 "mr-2"}}{{ .Milestone.Name }} |
186 | 186 | </a> |
187 | 187 | </div> |
188 | 188 | {{- end }} |
189 | 189 | {{- range index $.LinkedPRs .ID }} |
190 | | - <div class="meta"> |
| 190 | + <div class="meta py-2"> |
191 | 191 | <a href="{{$.RepoLink}}/pulls/{{ .Index }}"> |
192 | 192 | <span class="{{if .PullRequest.HasMerged}}purple{{else if .IsClosed}}red{{else}}green{{end}}">{{svg "octicon-git-merge"}}</span> |
193 | 193 | {{ .Title}} (#{{ .Index }}) |
194 | 194 | </a> |
195 | 195 | </div> |
196 | 196 | {{- end }} |
197 | 197 | </div> |
198 | | - <div class="extra content"> |
199 | | - {{ range .Labels }} |
200 | | - <a class="ui label" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> |
201 | | - {{ end }} |
202 | | - </div> |
| 198 | + {{if .Labels}} |
| 199 | + <div class="extra content labels-list p-0 pt-2"> |
| 200 | + {{ range .Labels }} |
| 201 | + <a class="ui label" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> |
| 202 | + {{ end }} |
| 203 | + </div> |
| 204 | + {{end}} |
203 | 205 | </div> |
204 | 206 | <!-- stop issue card --> |
205 | 207 |
|
|
0 commit comments