Download this file
| 1 | {{define "content"}} |
| 2 | <div rst-stack><h1>{{copy "nav.projects"}}</h1> |
| 3 | <p data-project-count="{{.Count}}">{{copy "projects.count"}}: {{.Count}}</p> |
| 4 | {{range .Groups}} |
| 5 | <section equipo-account rst-stack rst-section> |
| 6 | <h2>{{.Account.Label}} <small>{{copy "projects.count"}}: {{len .Projects}}</small></h2> |
| 7 | <div equipo-projects> |
| 8 | {{range .Projects}}<article equipo-card rst-stack data-project-kind="{{.Project.Kind}}"> |
| 9 | <h3><a href="/projects/{{.Project.ID}}">{{icon "folder"}}{{.Project.Name}}</a></h3> |
| 10 | {{template "project-metadata" .}} |
| 11 | <p data-project-work><a href="/projects/{{.Project.ID}}">{{copy "task.plan"}}</a></p><p equipo-muted data-signals="unavailable">{{copy "signals.unconnected"}}</p> |
| 12 | </article>{{else}}<p>{{copy "projects.empty"}}</p>{{end}} |
| 13 | </div></section> |
| 14 | {{else}}<p>{{copy "projects.empty"}}</p>{{end}} |
| 15 | <section equipo-note rst-stack><h2>{{copy "budget.title"}}</h2>{{template "budget-summary" .}}<h3>{{copy "budget.usage"}}</h3><p data-usage="unavailable">{{copy "usage.unknown"}}</p></section> |
| 16 | {{if .Owner}}<section equipo-card rst-stack><h2>{{copy "projects.add"}}</h2>{{template "project-fields" .}}</section>{{end}}</div> |
| 17 | {{end}} |
| 18 | |