2023-04-30 09:12:49 -04:00
|
|
|
{{if or .OpenMilestones .ClosedMilestones}}
|
|
|
|
<div class="ui icon search input">
|
2023-08-25 19:35:10 -04:00
|
|
|
<i class="icon">{{svg "octicon-search" 16}}</i>
|
2023-09-25 04:56:50 -04:00
|
|
|
<input type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_milestones"}}">
|
2023-04-30 09:12:49 -04:00
|
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
{{end}}
|
2023-09-25 04:56:50 -04:00
|
|
|
<div class="no-select item">{{ctx.Locale.Tr "repo.issues.new.clear_milestone"}}</div>
|
2023-04-30 09:12:49 -04:00
|
|
|
{{if and (not .OpenMilestones) (not .ClosedMilestones)}}
|
2023-05-29 10:10:06 -04:00
|
|
|
<div class="disabled item">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "repo.issues.new.no_items"}}
|
2023-04-30 09:12:49 -04:00
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{if .OpenMilestones}}
|
|
|
|
<div class="divider"></div>
|
|
|
|
<div class="header">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "repo.issues.new.open_milestone"}}
|
2023-04-30 09:12:49 -04:00
|
|
|
</div>
|
|
|
|
{{range .OpenMilestones}}
|
|
|
|
<a class="item" data-id="{{.ID}}" data-href="{{$.RepoLink}}/issues?milestone={{.ID}}">
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 12:42:49 -04:00
|
|
|
{{svg "octicon-milestone" 16 "tw-mr-1"}}
|
2023-04-30 09:12:49 -04:00
|
|
|
{{.Name}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{if .ClosedMilestones}}
|
|
|
|
<div class="divider"></div>
|
|
|
|
<div class="header">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "repo.issues.new.closed_milestone"}}
|
2023-04-30 09:12:49 -04:00
|
|
|
</div>
|
|
|
|
{{range .ClosedMilestones}}
|
|
|
|
<a class="item" data-id="{{.ID}}" data-href="{{$.RepoLink}}/issues?milestone={{.ID}}">
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 12:42:49 -04:00
|
|
|
{{svg "octicon-milestone" 16 "tw-mr-1"}}
|
2023-04-30 09:12:49 -04:00
|
|
|
{{.Name}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|