|
|
|
@ -1,12 +1,12 @@ |
|
|
|
|
{{if .CanWriteProjects}} |
|
|
|
|
{{if .CanWriteProjects}} |
|
|
|
|
<div class="gt-tr"> |
|
|
|
|
<a class="ui small green button" href="{{$.Link}}/new">{{.locale.Tr "repo.projects.new"}}</a> |
|
|
|
|
</div> |
|
|
|
|
<div class="divider"></div> |
|
|
|
|
{{end}} |
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
{{template "base/alert" .}} |
|
|
|
|
<div class="small-menu-items ui compact tiny menu"> |
|
|
|
|
{{template "base/alert" .}} |
|
|
|
|
<div class="small-menu-items ui compact tiny menu"> |
|
|
|
|
<a class="item{{if not .IsShowClosed}} active{{end}}" href="{{$.Link}}?state=open"> |
|
|
|
|
{{svg "octicon-project-symlink" 16 "gt-mr-3"}} |
|
|
|
|
{{.locale.PrettyNumber .OpenCount}} {{.locale.Tr "repo.issues.open_title"}} |
|
|
|
@ -15,9 +15,9 @@ |
|
|
|
|
{{svg "octicon-check" 16 "gt-mr-3"}} |
|
|
|
|
{{.locale.PrettyNumber .ClosedCount}} {{.locale.Tr "repo.issues.closed_title"}} |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="ui right floated secondary filter menu"> |
|
|
|
|
<div class="ui right floated secondary filter menu"> |
|
|
|
|
<!-- Sort --> |
|
|
|
|
<div class="ui dropdown type jump item"> |
|
|
|
|
<span class="text"> |
|
|
|
@ -30,8 +30,8 @@ |
|
|
|
|
<a class="{{if eq .SortType "leastupdate"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&sort=leastupdate&state={{$.State}}">{{.locale.Tr "repo.issues.filter_sort.leastupdate"}}</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="milestone-list"> |
|
|
|
|
</div> |
|
|
|
|
<div class="milestone-list"> |
|
|
|
|
{{range .Projects}} |
|
|
|
|
<li class="milestone-card"> |
|
|
|
|
<h3 class="flex-text-block gt-m-0"> |
|
|
|
@ -70,7 +70,7 @@ |
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
{{template "base/paginate" .}} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{{if $.CanWriteProjects}} |
|
|
|
|
<div class="ui g-modal-confirm delete modal"> |
|
|
|
|