|
|
@ -176,8 +176,8 @@
|
|
|
|
{{.locale.Tr "repo.issues.new.open_projects"}}
|
|
|
|
{{.locale.Tr "repo.issues.new.open_projects"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{range .OpenProjects}}
|
|
|
|
{{range .OpenProjects}}
|
|
|
|
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{$.RepoLink}}/projects/{{.ID}}">
|
|
|
|
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}">
|
|
|
|
{{svg "octicon-project" 18 "gt-mr-3"}}
|
|
|
|
{{if .IsOrganizationProject}}{{svg "octicon-project-symlink" 18 "gt-mr-3"}}{{else}}{{svg "octicon-project" 18 "gt-mr-3"}}{{end}}
|
|
|
|
{{.Title}}
|
|
|
|
{{.Title}}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
@ -188,8 +188,8 @@
|
|
|
|
{{.locale.Tr "repo.issues.new.closed_projects"}}
|
|
|
|
{{.locale.Tr "repo.issues.new.closed_projects"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{range .ClosedProjects}}
|
|
|
|
{{range .ClosedProjects}}
|
|
|
|
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{$.RepoLink}}/projects/{{.ID}}">
|
|
|
|
<a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link}}">
|
|
|
|
{{svg "octicon-project" 18 "gt-mr-3"}}
|
|
|
|
{{if .IsOrganizationProject}}{{svg "octicon-project-symlink" 18 "gt-mr-3"}}{{else}}{{svg "octicon-project" 18 "gt-mr-3"}}{{end}}
|
|
|
|
{{.Title}}
|
|
|
|
{{.Title}}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
@ -201,8 +201,8 @@
|
|
|
|
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{.locale.Tr "repo.issues.new.no_projects"}}</span>
|
|
|
|
<span class="no-select item {{if .Project}}gt-hidden{{end}}">{{.locale.Tr "repo.issues.new.no_projects"}}</span>
|
|
|
|
<div class="selected">
|
|
|
|
<div class="selected">
|
|
|
|
{{if .Project}}
|
|
|
|
{{if .Project}}
|
|
|
|
<a class="item muted sidebar-item-link" href="{{.RepoLink}}/projects/{{.Project.ID}}">
|
|
|
|
<a class="item muted sidebar-item-link" href="{{.Project.Link}}">
|
|
|
|
{{svg "octicon-project" 18 "gt-mr-3"}}
|
|
|
|
{{if .IsOrganizationProject}}{{svg "octicon-project-symlink" 18 "gt-mr-3"}}{{else}}{{svg "octicon-project" 18 "gt-mr-3"}}{{end}}
|
|
|
|
{{.Project.Title}}
|
|
|
|
{{.Project.Title}}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|